serial class %SQL.StatementObject
extends %SerialObject
%SQL.StatementObject - a StatementObject instances is the metadata for the object
attributes of a column whose type class is a persistent class. This metadata contains
the referenced extent name and an expression for exporting the referenced object using
Cache's internal QUICK interface.
Parameters
|
Properties
|
Methods
|
Queries
|
Indices
|
ForeignKeys
|
Triggers
|
|
4
|
|
|
|
|
|
property column
as %Integer;
column is the collection pointer of the column whose values reference
objects in an extent.
property columnName
as %Library.String(MAXLEN=255);
columnName is the name of the column or property whose values reference
objects in an extent. That means that this expression can be used to return an object reference:
set objectRef = $classmethod(,"%OpenId",rs.%Get())
property exportCall
as %String(MAXLEN="");
exportCall is the tag^routine() expression that implements
the object export for a given object ID. The following code will
export an instance of extentName:
set %rowid = rs.%Get(), %nolock = 0
do @
property extentName
as %String(MAXLEN=255);
extentName is the name of the extent in which the
value of columnNbr is an instance. This is
a class name but the object referenced can be an
instance of a more specific subclass of extentName.