Predicates
Scalar functions
Collection functions
Mathematical functions
String functions
Insert any cypher query
EXPERIMENTAL Node direction & relationship builder
neo.direction('n=a/tr=love/n') // (a)-[love]->()
Node, e.g. (), (s)
To node, e.g. -->(), -->(s)
From node, e.g. <--(), <--(s)
To relationship, e.g. -[]->, -[r]->
From relationship, e.g. <-[]-, <-[r]-
Outbound relationship, e.g. <-[]->, <-[r]->
Ignore relationship, e.g. -[]-, -[r]-
e.g. --
Build start node
neo.start('*') // START n = node(*)
neo.start(1) // START n = node(1), { id: 1 }
neo.start({ r: '*' }) // START r = relationship(*)
neo.start('n = node(*)') // START n = node(*)
neo.create(n) // CREATE (n) neo.create(n, true) // CREATE UNIQUE (n)
For development use only
Without properties Details
neo
.executeCypher(
'CREATE (n:Person { name : {name} }) RETURN n'
{
"name" : "Kieve"
}
)
Without properties Details
neo
.queryBuilder()
.start('*')
.return('*')
.execute()
neo .queryBuilder() .start('') .return('') .execute() .fail((data) -> console.log 'error', arguments ) .then((data) -> console.log data )