X-Git-Url: http://git.kpe.io/?p=clsql.git;a=blobdiff_plain;f=sql%2Ffdml.lisp;h=7c8ae7b2c20237ae22ad9b53be17394a2f961d86;hp=50ab024ec38129421c3fb784963e2b7ca0e6bd0c;hb=635fd6df23f5cdc0247ec93dfdb04e1be670412e;hpb=e520ca44fbd7999a3185f34e68f656b954707993 diff --git a/sql/fdml.lisp b/sql/fdml.lisp index 50ab024..7c8ae7b 100644 --- a/sql/fdml.lisp +++ b/sql/fdml.lisp @@ -581,8 +581,15 @@ computed for each field." (defun prepare-sql (sql-stmt types &key (database *default-database*) (result-types :auto) field-names) "Prepares a SQL statement for execution. TYPES contains a -list of UFFI primitive types corresponding to the input parameters. Returns a -prepared-statement object." +list of types corresponding to the input parameters. Returns a +prepared-statement object. + +A type can be + :int + :double + :null + (:string n) +" (unless (db-type-has-prepared-stmt? (database-type database)) (error 'sql-user-error :message