Giter Club home page Giter Club logo

Comments (2)

circles-arrows avatar circles-arrows commented on September 24, 2024

The good news is that the next release of Blueprint41 will support "Unwind" and many other missing functionalities for type-safe queries. It will also support Neo4j 4.x and Bolt Driver 4.x.
The code is nearing completion, but we still need to do some testing and write the updated documentation. For now you can use the Run functionality to execute cypher directly, but when the next Blueprint41 is released it's better to upgrade the code to have type-safe queries so you benefit from compile-time errors on incompatible code after you upgrade the datastore.

To execute Cypher directly, in Blueprint v1.0.17 you can use the method:

using (Transaction trans = Transaction.Begin())
{
    IStatementResult result = Neo4jTransaction.Run("MATCH (p:person) WHERE NOT (p)-[:executes]-(:transaction) RETURN p");
}

Neo4jTransaction resides in namespace: Blueprint41.Neo4j.Persistence.

In the next version of Blueprint41 this method is slightly changed, and becomes an instance method on the Transaction object.

using (Transaction trans = Transaction.Begin())
{
    RawResult result = trans.Run("MATCH (p:person) WHERE NOT (p)-[:executes]-(:transaction) RETURN p");
}

It returns a "RawResult" object that is a wrapper around the IStatementResult (for Bolt Driver v1.7.2) or IResult (for Bolt Driver v4.x).

from blueprint41.

hewhofreeks avatar hewhofreeks commented on September 24, 2024

Awesome! This all looks great and sounds very promising. Thank you for your prompt response.

from blueprint41.

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.