r9530: updates for mysql prepared statements
[clsql.git] / sql / fdml.lisp
index 50ab024ec38129421c3fb784963e2b7ca0e6bd0c..7c8ae7b2c20237ae22ad9b53be17394a2f961d86 100644 (file)
@@ -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