Home > Class Reference > %SYS namespace > %Compiler.LG.QueryHelper
Private  

%Compiler.LG.QueryHelper

class %Compiler.LG.QueryHelper extends %Library.RegisteredObject, %Collection.AbstractListOfObj

Inventory

Parameters Properties Methods Queries Indices ForeignKeys Triggers
5

Summary

Methods
%AddToSaveSet %ClassIsLatestVersion %ClassName %ConstructClone
%DispatchClassMethod %DispatchGetModified %DispatchGetProperty %DispatchMethod
%DispatchSetModified %DispatchSetMultidimProperty %DispatchSetProperty %Extends
%GetParameter %IsA %IsModified %IsNull
%New %NormalizeObject %ObjectModified %OriginalNamespace
%PackageName %RemoveFromSaveSet %SerializeObject %SetModified
%ValidateObject BuildValueArray Clear Count
Find FindObjectId FindOref GetAt
GetNext GetObjectAt GetObjectIdAt GetObjectIdNext
GetObjectIdPrevious GetObjectNext GetObjectPrevious GetPrevious
Init Insert InsertAt InsertList
InsertObject InsertObjectAt InsertObjectId InsertObjectIdAt
InsertOrdered LogicalToOdbc Next OdbcToLogical
Previous Query RemoveAt SetAt
SetObjectAt SetObjectIdAt

Methods

method Count() as %Integer
Returns the number of elements contained in the list.
method GetAt(key As %Integer = 0) as %RegisteredObject
Finds and returns the value of the element at position key in the list.

GetAt returns the value of the element at location key or null string ("") if no element is found.

method GetNext(ByRef key As %Integer) as %RegisteredObject
Finds and returns the value of the element at the position after key in the list. If key is a null string (""), it returns the value of the first element in the list.

The value of key, which is passed by reference, is updated to the position value of the returned element or null string ("") if key is at the end of the list.

method Init(class As %String, sql As %String, args) as %Status
classmethod Query(class As %String, sql As %String, args) as QueryHelper