Caché Class Definition Reference
Query Definitions
[Home] [Back] [Next]
InterSystems: The power behind what matters   
Class Reference   
Search:    

Describes the structure of a query definition.
Introduction
A class query is a named query that is part of a class structure and that can be accessed via dynamic SQL.
You can define class queries within any class; there is no requirement to contain them within persistent classes.
Details
A query definition has the following structure:
/// description
Query name(formal_spec) As classname [ keyword_list ] 
{
implementation
}
Where:
See Also