|dao-error||Base class for DAO related errors.|
|dao-nonexistent-id||Condition signaling the attempt to initialize a dao|
with a non-existant ID.
|unresolved-foreign-key||Condition signaling that a class with a foreign-key|
reference to a non-defined class has been tri...
|dao||Base class for any PostgreSQL aware classes.|
|db-class||Metaclass for PostgreSQL aware classes. It takes|
two additional arguments in DEFTABLE: :INDICES (...
|get-dao||Get the dao corresponding to the given primary key,|
or return nil if it does not exist.
|query-dao-fun||Execute the given `QUERY' (which can be either a string or a|
S-SQL expression, which will be eval...
|relate||Make OBJECT1 and OBJECT2 enter into the many-to-many relation|
`RELATION'. If `RELATION' is not pr...
|relatedp||Tell whether `OBJECT1' and `OBJECT2' are in the many-to-many relation|
`RELATION' (or the unnamed ...
|select-dao-fun||Functional interface for SELECT-DAO.|
|slot-value-or-id-if-foreign||SLOT-VALUE if SLOT in OBJECT is not foreign, the ID of the object|
in the slot otherwise. If the o...
|unrelate||`OBJECT1' stops being with `OBJECT2' in `RELATION'.|
|dao-exists-p||Return a boolean indicating whether the given DAO|
exists in the database.
|dao=||T if all the slot-values of `LEFT' and `RIGHT'|
are the same. If the compared values are not DAO...
|delete-dao||Delete the given dao from the database.|
|get-all||Get all objects of TYPE that stand in a many-to-one|
relation with OBJECT.
|insert-dao||Insert the given DAO into the database.|
|save-dao||Save a dao: update it when it already exists, insert it otherwise.|
|update-dao||Update the DAO's representation in the database|
with the values in the given object and return it...
|def-many-to-many||Defines a possibly named many-to-many mapping between two|
persistent classes. There can be only o...
|defdao||Wrapper macro for defining a class inheriting from DAO and with the|
metaclass set to DB-CLASS.
|make-and-save||Make a DAO and immediately save it. Takes the same arguments as|
(make-instance ((dao dao))).
|query-dao||Execute the given `QUERY' (which can be either a string or a|
S-SQL expression, which won't be eva...
|select-dao||Select daos of TYPE for the rows in its table for which the given TEST|
|with-class-connection||Run BODY in an environment with an always pooled connection to the database|
specified by the DB-C...
|with-connection||Binds *database* to a new connection and runs body in that scope.|
|with-object-connection||Run BODY in an environment with a connection to the database|
specified by the DB-CLASS-CONNECTION...