(: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)
t)
(:documentation "T [default] if database-type supports EXCEPT."))
+(defgeneric db-type-has-auto-increment? (db-type)
+ (:method (db-type)
+ (declare (ignore db-type)
+ nil))
+ (:documentation "NIL [default] if database-type supports auto-incrementing columns."))
+
;;; Large objects support (Marc Battyani)
(defgeneric database-create-large-object (database)