-
Notifications
You must be signed in to change notification settings - Fork 5
Literals
Marijn van Wezel edited this page Oct 13, 2021
·
5 revisions
You can use literals in your Cypher query by using the Query::literal helper function.
To use the number 10 in your query:
$ten = Query::literal(10);To use the string foobar in your query:
$foobar = Query::literal("foobar");To use double quotes in your string:
$foobar = Query::literal("foobar")->useDoubleQuotes();