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 an optimized interface.


Parameters Properties Methods Queries Indices ForeignKeys Triggers


column columnName exportCall extentName
%AddToSaveSet %AddToSyncSet %ClassIsLatestVersion %ClassName
%ConstructClone %Delete %DeleteId %DispatchClassMethod
%DispatchGetModified %DispatchGetProperty %DispatchMethod %DispatchSetModified
%DispatchSetMultidimProperty %DispatchSetProperty %Extends %GetParameter
%GetSwizzleObject %IsA %IsModified %IsNull
%New %NormalizeObject %ObjectIsNull %ObjectModified
%OnBeforeAddToSync %OnDetermineClass %Open %OpenId
%OriginalNamespace %PackageName %RemoveFromSaveSet %ResolveConcurrencyConflict
%SerializeObject %SetModified %SyncObjectIn %SyncTransport
%ValidateObject LogicalToOdbc OdbcToLogical


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.
Copyright © 1997-2020 InterSystems Corporation, Cambridge, MA