The
update-records-from-instance
generic function 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.