Lifecycle of a Query—Use of Query Functions

Lifecycle of a query involves creation, execution, and gathering of results. Functions can be used to create and execute queries, and to gather query results.

Also see Result Set Data Usage (Snapshot Queries) and Callback Rule Function Data Usage for details on how to get and use query results.