php-cypher-dsl
php-cypher-dsl copied to clipboard
A low-level query builder for Cypher written in PHP
The `CASE` expression is currently not supported by the DSL. See https://s3.amazonaws.com/artifacts.opencypher.org/openCypher9.pdf for documentation.
It currently only takes a procedure name and some arguments.
The following is currently not possible: `{ .name, .realName, movies: collect(movie { .title, .year })}`. This is called a map projection, and is part of the openCypher standard. See page...
Currently, all comparison operators only implement `BooleanType`. This means that the following is *not* allowed: `$a->gt($b)->gt($c)` That is because `$a->gt($b)` returns a BooleanType, which does not implement the `gt` method....
I started using this package last few days, moving away from string concatenation, and I've found it really difficult to read the code once it's done. It seems to me...
CYPHER has the indexing operator `[]`. Simple examples of its use are `WITH {a:'Hello World!'} AS map RETURN map['a']` and `WITH ['Hello World!'] AS list RETURN list[0]`. More complicated examples...
The current version has no built-in mechanism to prevent invalid clause orders, as nothing prevents or warns the user from doing the following: ``` $n = Query::node()->withVariable('n'); $query = Query::new()...
Currently, string concatenation is not supported by the type system. That is because `Addition` only accepts `NumeralType`. We need to add support for string concatenation by adding a new expression...
Currently, list concatenation is not supported by the type system. That is because `Addition` only accepts `NumeralType`. We need to add support for list concatenation by adding a new expression...