X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=doc%2Fref-fddl.xml;h=755f6cea5c0a3871f7626746f0f5aee4ec850019;hb=035a6fe046ae78bb10c7a7d039ed1ce1028e8424;hp=422134396c9f6f0c3308afee632dac50eb1d5a28;hpb=cb683851a0af33e88b7c4995435dc0cf226f6cba;p=clsql.git diff --git a/doc/ref-fddl.xml b/doc/ref-fddl.xml index 4221343..755f6ce 100644 --- a/doc/ref-fddl.xml +++ b/doc/ref-fddl.xml @@ -109,6 +109,18 @@ => (table-exists-p [foo]) => T + +(create-table [foo] '(([bar] integer :not-null :unique :primary-key) + ([baz] string :not-null :unique))) +=> +(table-exists-p [foo]) +=> T + +(create-table [foo] '(([bar] integer :not-null) ([baz] string :not-null)) + :constraints '("UNIQUE (bar,baz)" "PRIMARY KEY (bar)")) +=> +(table-exists-p [foo]) +=> T