All Manuals > LispWorks User Guide and Reference Manual > 38 The SQL Package

NextPrevUpTopContentsIndex

update-records-from-instance

Generic Function
Summary

Updates a set of specified records in a database.

Package

sql

Signature

update-records-from-instance instance &key database =>

Arguments

instance

An instance of a View Class.

database

A database.

Values

None.

Description

The generic function update-records-from-instance updates the records in database represented by instance . If the instance is already associated with a database, that database is used, and database is ignored. If instance is not yet associated with a database, a record is created for instance in the appropriate table of database and the instance becomes associated with that database.

update-records-from-instance only updates the records from the base slots of instance - it does not look at the join slots.

See also

def-view-class
delete-instance-records
update-records


LispWorks User Guide and Reference Manual - 21 Dec 2011

NextPrevUpTopContentsIndex