Giter Site home page Giter Site logo

Comments (3)

cleishm avatar cleishm commented on August 15, 2024

Hi @jeffreylovitz!

Thanks for picking up on this. While the opencypher TCK doesn't test for the use of a WHERE predicate on a CALL clause, I do think the grammar should support it.

This shouldn't be too hard to add. Would you be interested in doing so? You'd need to add an optional WHERE predicate to the call-clause in the parser (https://github.com/cleishm/libcypher-parser/blob/v0.6.2/lib/src/parser.leg#L326-L341), similarly to other clauses that accept this predicate (e.g. https://github.com/cleishm/libcypher-parser/blob/v0.6.2/lib/src/parser.leg#L306), and also update the AST builder call_clause to accept the AST nodes for the WHERE.

Cheers,
Chris

from libcypher-parser.

jeffreylovitz avatar jeffreylovitz commented on August 15, 2024

Thanks, @cleishm!

I can give this a shot. If I understand correctly, after making the changes you outline, the CALL interface will have to be extended for the functionality cypher_ast_call_get_predicate. Are there other tasks this change entails?

from libcypher-parser.

cleishm avatar cleishm commented on August 15, 2024

Resolved by #17

from libcypher-parser.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.