NamedQuery
Defines a Query which can be referenced in AdaptableQL Expressions
TypeScript
export interface NamedQuery extendsExtends
Properties
| Property | Type | Description |
|---|---|---|
| Description | string | Optional description of what the query computes; shown in the Expression Editor lookups and Named Query views. |
| Expression | string | AdapTableQL Expression evaluated per row (scalar; aggregations are not allowed in Named Queries) |
| Name | string | Name of the Query, used to reference it in AdaptableQL Expressions |
| ReturnType | NamedQueryReturnType | Return type of the expression. When omitted, the query is treated as 'boolean' and can be used as a Grid Filter or Alert rule. |
| IsReadOnly | boolean | Sets Entity to ReadOnly (overwriting a Strategy Entitlement of 'Full') |
Property Details
Description
Optional description of what the query computes; shown in the Expression Editor lookups and Named Query views.
TypeScript
Description?: string;Property Value
string
Expression
AdapTableQL Expression evaluated per row (scalar; aggregations are not allowed in Named Queries)
TypeScript
Expression: string;Property Value
string
Name
Name of the Query, used to reference it in AdaptableQL Expressions
TypeScript
Name: string;Property Value
string
ReturnType
Return type of the expression. When omitted, the query is treated as 'boolean' and can be used as a Grid Filter or Alert rule.
TypeScript
ReturnType?: NamedQueryReturnType;Property Value
IsReadOnly
Inherited from AdaptableObject
Sets Entity to ReadOnly (overwriting a Strategy Entitlement of 'Full')
TypeScript
IsReadOnly?: boolean;Property Value
boolean