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

Describes the structure of a query definition.
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.
A query definition has the following structure:
/// description Query name(formal_spec) As classname [ keyword_list ]  { implementation }
See Also

Send us comments on this page
Copyright © 1997-2019 InterSystems Corporation, Cambridge, MA