Class Table

An RDBMS table with some related RDBMS definitions. The actual table will be created in the database when export-to-rdbms is called on it.

Part of:

package cl-perec, class class-primary-table, class exportable, class association-primary-table

Direct Superclass

exportable

Direct Subclass

association-primary-tableThis is a special table related to a persistent association.
class-primary-tableThis is a special table related to a persistent class.

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.

Direct 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...