NamedQuery

View as Markdown

Defines a Query which can be referenced in AdaptableQL Expressions

TypeScript
export interface NamedQuery extends
Extends

AdaptableObject

Properties

PropertyTypeDescription
DescriptionstringOptional description of what the query computes;
shown in the Expression Editor lookups and Named Query views.
ExpressionstringAdapTableQL Expression evaluated per row (scalar; aggregations are not allowed in Named Queries)
NamestringName of the Query, used to reference it in AdaptableQL Expressions
ReturnTypeNamedQueryReturnTypeReturn type of the expression. When omitted, the query is treated as 'boolean' and can be used as a Grid Filter or Alert rule.
IsReadOnlybooleanSets 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

NamedQueryReturnType

IsReadOnly

Inherited from AdaptableObject

Sets Entity to ReadOnly (overwriting a Strategy Entitlement of 'Full')

TypeScript
IsReadOnly?: boolean;
Property Value

boolean