docs.intersystems.com
Home  /  Application Development: Core Topics  /  Class Definition Reference  /  Class Definitions  /  Query Definitions


Class Definition Reference
Query Definitions
[Back]  [Next] 
InterSystems: The power behind what matters   
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