X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=sql%2Fdb-interface.lisp;h=5cdb719f3ea00cdc4915701fff2abec177aaff49;hb=534849c88501e0ea2ee5dbf78d13d8cb73814d71;hp=9c17b544dd0268993a6022e13b3677fadb107959;hpb=406feeb749bb475bec8077a2716a5b6089bd9072;p=clsql.git diff --git a/sql/db-interface.lisp b/sql/db-interface.lisp index 9c17b54..5cdb719 100644 --- a/sql/db-interface.lisp +++ b/sql/db-interface.lisp @@ -167,6 +167,12 @@ if unable to destory.")) (defgeneric database-sequence-last (name database) (:documentation "Select the last value in sequence NAME in DATABASE.")) +(defgeneric database-last-autoincrement-id (database table column) + (:documentation "Many databases have the notion of an auto-increment + id; i.e. a sequence implicitly on a table. This function should + return that ID." )) + + (defgeneric database-start-transaction (database) (:documentation "Start a transaction in DATABASE.") (:method ((database t))