X-Git-Url: http://git.kpe.io/?p=clsql.git;a=blobdiff_plain;f=sql%2Fdb-interface.lisp;fp=sql%2Fdb-interface.lisp;h=892a80e35b3cd5e96d825d2b1c96f05f2938ca77;hp=9c17b544dd0268993a6022e13b3677fadb107959;hb=3c3aa36478f0609e60d83e6c936bf2096fcae726;hpb=d723e681ead5613b5ad8ad463c0bbd0c8f6aba1f diff --git a/sql/db-interface.lisp b/sql/db-interface.lisp index 9c17b54..892a80e 100644 --- a/sql/db-interface.lisp +++ b/sql/db-interface.lisp @@ -167,6 +167,11 @@ 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))