You have been redirected from an outdated version of the article. Below is the content available on this topic. To view the old article click here.

GetProperty

Description
The GetProperty element extracts a property referenced by key from a given object.

Parameters
Name | Description
— | —
DataTarget | Connects to element’s DataSource
NodeSource | Accepts connection from another element’s DataTarget and expects a node
PropertyNameSource | Accepts connections from DataTarget sockets and represents the name of the property to extract
PropertyName | Represents the name of the property to extract. Has lower priority than a connected PropertyNameSource.

Search results for "GetProperty"

GetProperty

The GetProperty element extracts a property referenced by key from a given object.

Passive Indexing

Passive indexing is the term for reading a dynamic value from a property (e.g. Function Property or Boolean Property) at application level, and writing it into the database at the end of each transaction, so the value is visible to Cypher. This is important for BooleanProperty, because its getProperty() method returns false instead of null even if there is no actual value in the database. Hence a Cypher query for this property with the value false would not return any results. Structr resolves this by reading all passively indexed properties of an entity, and writing them into the database at the end of a transaction.