X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=sql%2Fdb-interface.lisp;h=031d1e8ae7fb7b8f632acd056b398bcd288550dd;hb=e9e1a810cd690a31c0258f1aad313aeae18a8906;hp=47fc3fdda1e0d3f34b152d581e7072bcc00b03e7;hpb=399877696a9ea31648ed27f656495bb36c67b03a;p=clsql.git diff --git a/sql/db-interface.lisp b/sql/db-interface.lisp index 47fc3fd..031d1e8 100644 --- a/sql/db-interface.lisp +++ b/sql/db-interface.lisp @@ -141,17 +141,14 @@ if not found. May signal an error if unable to communicate with database server. (:documentation "Lists all databases found for TYPE. May signal an error if unable to communicate with database server.")) -(defgeneric database-destroy (connection-spec database) - (:documentation "Destroys (drops) a database.")) - (defgeneric database-truncate (database) (:method ((database t)) (signal-no-database-error database)) (:documentation "Remove all data from database.")) -(defgeneric database-destory (connection-spec type) +(defgeneric database-destroy (connection-spec type) (:documentation - "Destroys a database, returns T if successfull or signals an error + "Destroys (drops) a database, returns T if successfull or signals an error if unable to destory.")) (defgeneric database-create-sequence (name database)