Adding db-type-has-auto-increment
[clsql.git] / sql / db-interface.lisp
index 031d1e8ae7fb7b8f632acd056b398bcd288550dd..ae586e8c2b8a95035a670a4a8c89253a62247a80 100644 (file)
@@ -374,6 +374,12 @@ of TYPE_NAME (keyword) PRECISION SCALE NULLABLE.")
            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)