TypeNode
TypeNode
Represents a node index in the database
__construct(\Everyman\Neo4j\Client $client, string $name, array $config)
Initialize the index
\Everyman\Neo4j\Client | $client | |
string | $name | |
array | $config |
add(\Everyman\Neo4j\PropertyContainer $entity, string $key, string $value) : boolean
Add an entity to the index
\Everyman\Neo4j\PropertyContainer | $entity | |
string | $key | |
string | $value |
findOne(string $key, string $value) : \Everyman\Neo4j\PropertyContainer
Find a single entity
string | $key | |
string | $value |
queryOne(string $query) : \Everyman\Neo4j\PropertyContainer
Query index to find a single entity
string | $query |
remove(\Everyman\Neo4j\PropertyContainer $entity, string $key, string $value) : boolean
Remove an entity from the index If $value is not given, all reference of the entity for the key are removed.
If $key is not given, all reference of the entity are removed.
\Everyman\Neo4j\PropertyContainer | $entity | |
string | $key | |
string | $value |