Comments (2)
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.
Awesome! This all looks great and sounds very promising. Thank you for your prompt response.
from blueprint41.
Related Issues (20)
- Neo4j V5 Update HOT 4
- Should Blueprint41.Neo4j.Persistence.Void.Neo4jTransaction.Run be doing something? HOT 2
- Issue in running tt file from Visual Studio for Mac HOT 1
- Blueprint41 VSCode plugin
- Blueprint41 Memgraph support
- Enterprise Only features HOT 2
- Support for Node Key Constraint
- Implement MSBuild solution to generating Blueprint41 entity classes instead of via T4 templates HOT 1
- Review datastore backing types
- Optimize deletion of files in the new code generator
- Solution stopped compiling HOT 2
- A bunch'a questions HOT 5
- How to put unique constraints for multiple properties? HOT 1
- Is there any way to create unique constraint involving multiple properties? HOT 1
- Missing "Generate.tt" file HOT 2
- Memgraph Index on unique constraints
- Memgraph unique constraint not created
- Running with github action HOT 1
- Is Blueprint 41 Thread safe ready to be used for web api? HOT 1
- Crash in Neo4jPersistenceProvider#FetchDatabaseInfo HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from blueprint41.