Query Command Syntax

Use this syntax to issue the query command.

[add|temporary|evaluate|list|copy|print|modify|delete] query NAME {CLAUSE};
  • NAME is the name of the query you are defining. The query name cannot include asterisks.
  • CLAUSEs provide additional information about the query.

In a query, the select expression value is used to qualify the search criteria (in a Where clause) by comparing it with another (given) value. For more information, see Select Clause.

The backslash (\) character can be used in MQL commands or expressions to escape any other character in a variety of contexts. In particular, MQL users can create attribute values that contain both single and double quotes, and search for objects with an attribute value of this sort. For more information, see Escape Character.