LispWorks User Guide and Reference Manual > 19 Common SQL > 19.4 Object oriented interface > 19.4.3 Object-Oriented Data Manipulation Language (OODML)

NextPrevUpTopContentsIndex

19.4.3.1 Examples

[select 'employee]
-> #<SQL-OBJECT-QUERY (EMPLOYEE)>
(select 'employee 
        :where [= [slot-value 'employee 'employee-job]
                  "SALESMAN"])
((#<db-instance EMPLOYEE 8067092>) 
 (#<db-instance EMPLOYEE 8069536>)
 (#<db-instance EMPLOYEE 8069176>))
(list-classes)
(#<db-class EMPLOYEE> #<db-class DEPARTMENT>)

LispWorks User Guide and Reference Manual - 22 Dec 2009

NextPrevUpTopContentsIndex