Optional
maxOptional, defaults to -1 (no limit). If set, the query will us a maximum age for caching. Other factors may lower this limit. If set to 0, the query will not be cached.
Optional
psOptional, used for prepared statements. If set, the query execute the psAction function. The psAction function will be called with the prepared statement and can set parameters on it. Returning a non null number will override the internal calcuation of the number of parameters used.
Optional
whereAllows for customization of backend query. The query segment will be injected into the WHERE clause of the query. It must begin with "AND" or "OR" and can contain any valid SQL syntax. This uses custom quote syntax to inject tables and fields into the query.
"A" - Lookup By Form AltId:
"C" - Lookup Table and Field By Field AltId:
"D" - Lookup By Display Name:
"F" - Lookup By Formula Form Id:
Raw Table Name:
Invalid Examples:
Options for advanced queries.
Example