docs.intersystems.com
Home / Class Definition Reference / Class Definitions / Query Definitions

Class Definition Reference
Query Definitions
Previous section           Next section
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


Previous section           Next section
View this book as PDF   |  Download all PDFs
Copyright © 1997-2019 InterSystems Corporation, Cambridge, MA
Content Date/Time: 2019-05-14 07:37:13