Name

UPDATE-INSTANCE-FROM-RECORDS — Update slot values from database.

Function

Syntax

      (update-instance-from-records object &key database) => 

Arguments and Values

object

An instance of a view class.

database

A database connection.

Description

Updates the slot values of the View Class instance object using the attribute values of the appropriate table of database which defaults to the database associated with object or, if object is not associated with a database, *default-database*. Join slots are updated but instances of the class on which the join is made are not updated.

Examples

        
      

Side Effects

Slot values of object may be modified.

Affected by

Data in SQL database.

Exceptional Situations

If database is not able to be read.

See Also

Notes