SQLTableBuilder documentation

This commit is contained in:
Gwendal Roué committed 2016-08-06 10:16:43 +02:00
1 parent 980b3234d5
commit ebfcc2e23a
1 file changed
+1 -1
+1 -1
View File
@@ -2223,7 +2223,7 @@ Other **table constraints** can involve several columns:
t.uniqueKey(["a", "b"], onConfict: .Replace)
// FOREIGN KEY (c, d) REFERENCES parents(a, b),
t.foreignKey(["c", "d"], references: "parent", columns: ["a", "b"])
t.foreignKey(["c", "d"], references: "parent")
// CHECK (a + b < 10),
t.check(SQLColumn("a") + SQLColumn("b") < 10)