new QueryReference()
References another query that selects elements of this query according to the operator. If $k.Operator.EQUAL or NOT_EQUAL are selected, then the reference works in both directions. If $k.Operator.FILTER is selected, then the subquery is only applied to this query.
Extends
Methods
alternativesId() → {number}
- Since
- 4.1.0
- Inherited From
- Deprecated
- This function is not supported any more
Returns:
- Type:
- number
linkedQuery() → {$k.StructuredQuery}
Returns the linked subquery
- Since
- 4.1.0
- Inherited From
Returns:
- Type:
- $k.StructuredQuery
operator() → {string}
Returns the comparison operator
- Since
- 4.1.0
Returns:
- Type:
- string
parameter() → {string}
Returns the parameter name of the condition, if defined
- Since
- 4.1.0
- Inherited From
Returns:
- Type:
- string
query() → {$k.StructuredQuery}
- Version
- Experimental feature, might be removed at any time
- Since
- 5.4.2
- Inherited From
Returns:
The source query
- Type:
- $k.StructuredQuery
setOperator(operator)
Sets the comparison operator
Parameters:
Name | Type | Description |
---|---|---|
operator | string |
- Since
- 4.1.0
setParameter(parameter)
Sets the parameter name of the condition
Parameters:
Name | Type | Description |
---|---|---|
parameter | string |
- Since
- 4.1.0
- Inherited From