Learning
Documentation
Community
Open Exchange
Global Masters
Home / Class Reference / %SYS namespace / %Dictionary.PackageDefinitionQuery
Private  Storage   

%Dictionary.PackageDefinitionQuery


abstract class %Dictionary.PackageDefinitionQuery

Inventory


Parameters Properties Methods Queries Indices ForeignKeys Triggers
8 2


Summary


Methods
FlatPackageClose FlatPackageExecute FlatPackageFetch FlatPackageFetchRows
SubPackageClose SubPackageExecute SubPackageFetch SubPackageFetchRows

Subclasses
%Dictionary.PackageDefinition

Methods


• classmethod FlatPackageClose(QHandle As %Binary) as %Status
• classmethod FlatPackageExecute(ByRef QHandle As %Binary, Prefix As %String) as %Status
• classmethod FlatPackageFetch(ByRef QHandle As %Binary, ByRef Row As %List, ByRef AtEnd As %Integer = 0) as %Status
Fetch returns the next row in the query.
• classmethod FlatPackageFetchRows(ByRef QHandle As %Binary, FetchCount As %Integer = 0, ByRef RowSet As %List, ByRef ReturnCount As %Integer, ByRef AtEnd As %Integer) as %Status
RoutineListFetchRows returns the next FetchCount rows in the query.
• classmethod SubPackageClose(QHandle As %Binary) as %Status
• classmethod SubPackageExecute(ByRef QHandle As %Binary, SuperPackage As %String) as %Status
• classmethod SubPackageFetch(ByRef QHandle As %Binary, ByRef Row As %List, ByRef AtEnd As %Integer = 0) as %Status
Fetch returns the next row in the query.
• classmethod SubPackageFetchRows(ByRef QHandle As %Binary, FetchCount As %Integer = 0, ByRef RowSet As %List, ByRef ReturnCount As %Integer, ByRef AtEnd As %Integer) as %Status
RoutineListFetchRows returns the next FetchCount rows in the query.

Queries


• query FlatPackage(Prefix As %String = "")
Selects Name
The FlatPackage query provides a list of flattened out package names. Starting with ones beginning with Prefix
• query SubPackage(SuperPackage As %String = "")
Selects Name
The SubPackage query provides a list of sub-package names. This query works in a hierarchical way, it returns only one level of sub-package under a specified SuperPackage name.