Skip to main content

%Library.CompiledQuery

deprecated persistent class %Library.CompiledQuery extends %Library.Persistent

SQL Table Name: %Library.CompiledQuery

Note: The class definition classes in the %Library package have been superceded by those in the %Dictionary package. Instead use %Dictionary.CompiledQuery.

This class represents a specific class query description for a compiled class.

Property Inventory

Method Inventory

Properties

property ClassName as %RawString;
A string containing the name of the class the query belongs to.
Property methods: ClassNameGet(), ClassNameIsValid(), ClassNameSet()
property ContainId as %RawString;
A flag indicating whether the query contains an ID column (1) or not (0).
Property methods: ContainIdGet(), ContainIdIsValid(), ContainIdSet()
property Name as %RawString;
A string containing the name of the query.
Property methods: NameGet(), NameIsValid(), NameSet()
property RowSpec as %RawString;
A string containing a comma-delimited list of the columns returned by the query.
Property methods: RowSpecGet(), RowSpecIsValid(), RowSpecSet()
property Type as %RawString;
A string containing the name of the class used for the implementation of the query.
Property methods: TypeGet(), TypeIsValid(), TypeSet()

Methods

classmethod QueryInfoClose(QHandle As %Binary) as %Status
classmethod QueryInfoExecute(ByRef QHandle As %Binary, ClassName As %String) as %Status
classmethod QueryInfoFetch(ByRef QHandle As %Binary, ByRef Row As %List, ByRef AtEnd As %Integer = 0) as %Status

Queries

query QueryInfo(ClassName As %String)
Selects Name, ContainId

Indexes

index (IDKEY on ) [IdKey, Type = key];
Index methods: IDKEYCheck(), IDKEYDelete(), IDKEYExists(), IDKEYOpen(), IDKEYSQLCheckUnique(), IDKEYSQLExists(), IDKEYSQLFindPKeyByConstraint(), IDKEYSQLFindRowIDByConstraint()

Inherited Members

Inherited Methods

FeedbackOpens in a new tab