Skip to main content

This is documentation for Caché & Ensemble.

For information on converting to InterSystems IRISOpens in a new window, see the InterSystems IRIS Migration Guide and Migrating to InterSystems IRIS, both available on the WRC Distributions pageOpens in a new window (login required).


Specifies whether the query is private.


To specify this query is private, use the following syntax:

Query name(formal_spec) As classname [ Private ]

Otherwise, omit this keyword or place the word Not immediately before the keyword.


Private class members can be used only by other members of the same class (or its subclasses). Note that other languages often use the word protected to describe this kind of visibility and use the word private to mean invisibility from subclasses.


If you omit this keyword, this query is not private.

See Also

FeedbackOpens in a new window