Name

UPDATE-RECORDS-FROM-INSTANCE — Update database from view class object.

Function

Syntax

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

Arguments and Values

object

An instance of a view class.

database

A database connection.

Description

Using an instance of a View Class, object, update the table that stores its instance data. database specifies the database in which the update is made only if object is not associated with a database. In this case, a record is created in the appropriate table of database using values from the slot values of object, and object becomes associated with database.

Examples

        
      

Side Effects

Modifies the database.

Affected by

Nothing.

Exceptional Situations

Database errors.

See Also

update-record-from-slot
update-record-from-slots

Notes