Extends#
Methods#
alternativesId() → {number}#
- Since
- 4.1.0
- Inherited From
- Deprecated
- This function is not supported any more
- Type:
- number
attributeCondition() → {$k.HasAttributeCondition}#
Returns the attribute condition
- Since
- 4.1.0
- Type:
- $k.
HasAttributeCondition
defaultValue() → {any}#
Returns the default value. The default is used if no parameter for this condition is supplied
- Since
- 4.1.0
- Type:
- any
ignoreCase() → {boolean}#
Returns true if equality is case insensitive. Only applies to string attributes and equality operators
- Since
- 4.1.0
- Type:
- boolean
operator() → {string|undefined}#
Returns the comparison operator
- Since
- 4.1.0
- Type:
- string |
undefined
parameter() → {string|undefined}#
Returns the parameter name of the condition, if defined
- Since
- 4.1.0
- Inherited From
- Type:
- string |
undefined
query() → {$k.StructuredQuery|undefined}#
- Version
- Experimental feature, might be removed at any time
- Since
- 5.4.2
- Inherited From
The source query
- Type:
- $k.
StructuredQuery |undefined
setDefaultValue(value)#
Sets the default value. The default is used if no parameter for this condition is supplied
Name | Type | Description |
---|---|---|
value |
- Since
- 4.1.0
If the query condition is not modifiable
setIgnoreCase(ignoreCase)#
Set to true if equality should be insensitive
Name | Type | Description |
---|---|---|
ignoreCase | boolean |
- Since
- 4.1.0
If the query condition is not modifiable
setOperator(operator)#
Sets the comparison operator
Name | Type | Description |
---|---|---|
operator | string | One of: "containsPhrase", "covers", "distance", "equal" (or "=="), "equalBy", "equalCardinality", "equalGeo", "equalMaxCardinality", "equalMinCardinality", "equalPresentTime", "equalsTopicOneWay", "fulltext", "greater" (or ">"), "greaterOrEqual" (or ">="), "greaterOverlaps", "greaterPresentTime", "isCoveredBy", "less" (or "<"), "lessOrEqual" (or "<="), "lessOverlaps", "lessPresentTime", "notEqual" (or "!="), "overlaps", "range", "regexEqual", "regexFulltext", "unmodifiedEqual", "words" |
- Since
- 4.1.0
If the query condition is not modifiable
setParameter(parameter)#
Sets the parameter name of the condition
Name | Type | Description |
---|---|---|
parameter | string |
- Since
- 4.1.0
- Inherited From
If the condition cannot be modified