Updates a View Class instance.
sql
update-instance-from-records instance &key database => instance
instance⇩ |
An instance of a View Class. |
database⇩ |
A database. |
instance |
The updated View Class instance. |
The generic function update-instance-from-records
updates the values in the slots of the View Class instance instance using the data in the database database.
database defaults to the database that instance is associated with, or the value of *default-database*. If instance is associated with a database, then database must be that same 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