Skip to main content

%Library.QueryDefinition

SQL Table Name: %Library.QueryDefinition

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

This class represents a specific class query.

Property Inventory

Properties

property ClassName as %RawString;
A string containing the name of the class the query belongs to.
Property methods: ClassNameGet(), ClassNameIsValid(), ClassNameSet()
property Deprecated as %RawString;
A flag indicating if this query is deprecated (1) or not (0).
Property methods: DeprecatedGet(), DeprecatedIsValid(), DeprecatedSet()
property Description as %RawString;
A string containing the description of the query.
Property methods: DescriptionGet(), DescriptionIsValid(), DescriptionSet()
property FormalSpec as %RawString;
A string containing the list of arguments for the query. These are the arguments passed via the Execute() method of the %ResultSet class.
Property methods: FormalSpecGet(), FormalSpecIsValid(), FormalSpecSet()
property Internal as %RawString;
A flag indicating whether the query is internal (1) or not (0).
Property methods: InternalGet(), InternalIsValid(), InternalSet()
property Name as %RawString;
A string containing the name of the query.
Property methods: NameGet(), NameIsValid(), NameSet()
property Parameters as array of %RawString;
An array containing any parameter definitions for the query. The array keys are the parameter names and the array values are the parameter values.
Property methods: ParametersBuildValueArray(), ParametersCollectionToDisplay(), ParametersCollectionToOdbc(), ParametersDisplayToCollection(), ParametersGet(), ParametersGetObject(), ParametersGetObjectId(), ParametersGetSwizzled(), ParametersIsValid(), ParametersOdbcToCollection(), ParametersSet(), ParametersSetObject(), ParametersSetObjectId()
property SQLName as %RawString;
A string containing the SQL procedure name of the query.
Property methods: SQLNameGet(), SQLNameIsValid(), SQLNameSet()
property SQLProc as %RawString;
A flag indicating whether the query is projected as an SQL stored procedure (1) or not (0).
Property methods: SQLProcGet(), SQLProcIsValid(), SQLProcSet()
property SQLQuery as %RawString;
The SQL statements to implement this query.
Property methods: SQLQueryGet(), SQLQueryIsValid(), SQLQuerySet()
property SQLView as %RawString;
A flag indicating whether the query is projected as an SQL view (1) or not (0).
Property methods: SQLViewGet(), SQLViewIsValid(), SQLViewSet()
property SQLViewName as %RawString;
If the query is projected as an SQL view, this is a string containing the name of the SQL view.
Property methods: SQLViewNameGet(), SQLViewNameIsValid(), SQLViewNameSet()
property SequenceNumber as %RawString;
Sequence number used to determine order of this item in Studio editor and in XML export format.
Property methods: SequenceNumberGet(), SequenceNumberIsValid(), SequenceNumberSet()
property Type as %RawString;
A string containing the name of the class used for the implementation of the query.
Property methods: TypeGet(), TypeIsValid(), TypeSet()

Indexes

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

Inherited Members

Inherited Methods

Storage

Gray indicates storage defined by superclasses.

Storage Model: Storage (%Library.AbstractDefinition)

^%Library.AbstractDefinitionD(ID)
=
%%CLASSNAME
FeedbackOpens in a new tab