(defgeneric database-sequence-last (name database)
(:documentation "Select the last value in sequence NAME in DATABASE."))
-(defgeneric database-last-autoincrement-id (database table column)
+(defgeneric database-last-auto-increment-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." ))
(when (and pk-slot (not pk))
(setf pk (if (member :auto-increment (listify (view-class-slot-db-constraints pk-slot)))
(setf (slot-value obj (slot-definition-name pk-slot))
- (database-last-autoincrement-id database
+ (database-last-auto-increment-id database
table
pk-slot))))