Skip to content

v2.4.0

Compare
Choose a tag to compare
@neo4j-team-graphql neo4j-team-graphql released this 05 Mar 13:42
· 102 commits to main since this release
6bc3f1f

Minor Changes

  • #508 12a78f0 Thanks @angrykoala! - Add support for += operator on SET

    const movie = new Cypher.Node();
    const clause = new Cypher.Match(new Cypher.Pattern(movie)).set([
        movie,
        "+=",
        new Cypher.Map({
            title: new Cypher.Param("The Matrix"),
            year: new Cypher.Param(1999),
        }),
    ]);
    MATCH (this0)
    SET
        this0 += { title: $param0, year: $param1 }

Patch Changes

  • #513 d4337b9 Thanks @angrykoala! - Rename disableLabelEscaping to disableNodeLabelEscaping in unsafeEscapeOptions:

    const queryResult = matchQuery.build({
        unsafeEscapeOptions: {
            disableNodeLabelEscaping: true,
            disableRelationshipTypeEscaping: true,
        },
    });