Object Oriented Data Manipulation Language (OODML) provides a Common Lisp Object System (CLOS) interface to SQL databases. View classes are defined with the OODDL interface and objects are read and written with the OODML.
The main function for reading data with the OODML is the select
function. The select
is also used in the
FDML. However, when select
is given a view
class name, it returns a list of instances of view classes.
View class instances can be updated to reflect any changes in
the database with the functions update-slot-from-record
and update-instance-from-records
.
To update the database to reflect changes made to instances of view classes, use the functions update-records-from-instance
,
update-record-from-slot
, and
update-record-from-slots
.
The function delete-instance-records
deletes the records corresponding to an instance of a view
class.
Table of Contents