QueryDef object methods

The following list summarizes the QueryDef object methods:

Note: For all Perl Get and Set methods, see the Properties section of this object.
Method name
Description
BuildField
Selects a field to include in the query's search results.
BuildFilterOperator
Creates the top-level QueryFilterNode Object for the query.
BuildUniqueKeyField
Builds and returns a unique key query field.
CreateTopNode
Creates a new root filter node, automatically attaches the old top node as its child.
GetFieldByPosition
Returns a QueryFieldDef object with the specified position.
GetPrimaryEntityDefName
Returns the primary EntityDef name for the QueryDef.
IsFieldLegalForQuery
Returns a Bool indicating whether a field is legal to be included in a query.
Save
Saves the query to the specified file.