Class: HasPropertyCondition

$k. HasPropertyCondition

new $k.HasPropertyCondition()

A condition that selects elements that have properties of a specific type.


The linked query of this conditon is the subquery for the properties. This allows to add meta property conditions.

Extends

Methods

cardinality() : number

Returns the desired cardinality of the property

Since:
  • 4.1.0
Returns:
Type Description
number

setCardinality(cardinality)

Sets the desired cardinality of the property. Only applied if a cardinality operator is used.

Name Type Description
cardinality number

Cardinality. Must be an integer >= 0.

Since:
  • 4.1.0

Intherited methods