Class Association-Primary-Table

This is a special table related to a persistent association.

Part of:

class table, package cl-perec

Direct Superclass

tableAn RDBMS table with some related RDBMS definitions. The actual table will be created in the datab...

Slot

columns
The list of RDBMS columns which will be queried or updated to get and set the data of this slot.
Initform:(compute-as* nil (compute-columns -self-)), Initargs::columns; Accessors:columns-of; Type:list.
ensure-exported
A persistent class, a persistent association and the related tables must be exported before use. This will automatically happen not later than making, reviving, querying or using by any means the first instance of it.
Initform:(compute-as* nil (export-to-rdbms -self-) -self-), Initargs::ensure-exported; Reader:ensure-exported.
name
The name of the RDBMS table.
Initargs::name; Accessors:name-of; Type:symbol.

Other Method

export-to-rdbmsExports classes, associations, tables to the database, may create new tables or alter existing on...
sql-alias-forGenerates a table alias for the given ELEMENT. Alias names may be supressed
by setting *SUPRESS-A...