[select 'employee]
--> #<SQL-OBJECT-QUERY (EMPLOYEE)>
(select 'employee
:where [= [slot-value 'employee 'employee-job]
"SALESMAN"])
((#<db-instance EMPLOYEE 8067092>)
(#<db-instance EMPLOYEE 8069536>)
(#<db-instance EMPLOYEE 8069176>))
(list-classes)
(#<db-class EMPLOYEE> #<db-class DEPARTMENT>)
In the following generic functions, instance is an instance of adef-view-class representing a record in a database.
Generic function
update-records-from-instance instance &key database
Generic function
update-record-from-slotsGeneric function
update-record-from-slot instance slot &key database update-record-from-slots instance slots &key database
update-records-from-instance, database is only used if instance is not yet associated with a database, in which case a record is created in database. Only slot or slots are initialized in this case; other columns in the underlying database receive default values. Slots are the CLOS slot names; the corresponding column names are derived from the view class definition. Generic function
delete-instance-records instance
delete-instance-records signals an error.