Updates a slot in a View Class instance.
sql
update-slot-from-record instance slot => instance
instance⇩ |
An instance of a View Class. |
slot⇩ |
A slot name. |
instance |
The updated View Class instance. |
The generic function update-slot-from-record
updates the value in the slot slot of the View Class instance instance using the records in the database.
instance must be associated with a database.
The argument slot is the CLOS slot name; the corresponding column names are derived from the View Class definition.
The update is not recursive on joins. Join slots (that is, slots with :db-kind
:join
) are updated, but the joined objects are not updated.
LispWorks® User Guide and Reference Manual - 01 Dec 2021 19:30:56