mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-28 04:24:20 +00:00
SQLTableBuilder documentation
This commit is contained in:
1 parent
a25b914085
commit
980b3234d5
1 file changed
+1
-1
@@ -2213,7 +2213,7 @@ Use an individual column as **primary**, **unique**, or **foreign key**. When no
|
||||
t.column("name", .Text).check { length($0) > 0 }
|
||||
```
|
||||
|
||||
Other **table constraints** can involve several columns. Integrity checks accept any [expression](#expressions), or a raw SQL snippet:
|
||||
Other **table constraints** can involve several columns:
|
||||
|
||||
```swift
|
||||
// PRIMARY KEY (a, b),
|
||||
|
||||
Reference in new issue
Block a user