Comments (2)
The pre and post processing should be possible in your code using the transpiler.
Preprocessing via graphql java apis
Ie parse/modify/generate.
We could add another method that takes the ast.
Postprocessing by walking over the bolt results
from neo4j-graphql-java.
You can achieve the post processing with the following schema:
type Order {
firstName: String!
lastName: String!
name: String @cypher(statement:"WITH (this) RETURN this.firstName + ' ' + this.lastName")
}
The Query:
{order{name}}
will result in the following cypher:
MATCH (order:`Order`) RETURN order { name:apoc.cypher.runFirstColumnSingle('WITH $this AS this WITH (this) RETURN this.firstName + \' \' + this.lastName', { this:order }) } AS order
from neo4j-graphql-java.
Related Issues (20)
- Filter and Limit is not working on Child Nodes HOT 1
- composite Map data type is not supported HOT 1
- Add support for neo4j 5.x
- update,delete mutation is not created only create is generated through augmented schema generator HOT 4
- Relationship properties not able to get
- Support for cypher-dsl 2023.0.0
- GraphQL with Edge Filters or Nested Node filter not working HOT 1
- Filter on nodes that are nested inside type relation is not working as expected
- support for aggregation queries in neo4j-graphql-java HOT 3
- Invalid mutation query for one-to-many relations
- Getting wrong Result with outgoing/incoming relationship with same type HOT 4
- not able to sort based on relationship object HOT 1
- Wrong node name used for end node in rich relationship HOT 1
- Authorization rules? HOT 2
- Incorrect mutation translation for IDs with @property
- Custom QueryHandler? HOT 2
- Add ability to specify null ordering (i.e. nullsFirst and nullsLast) in sorts
- Filters should not be available on a `@cypher` directive field since they don't work
- TypeMismatchError when `queryTypeOfInterfaces` is enabled and there are no nodes in a relationship which uses __typename HOT 2
- Does not work with spring boot 3.2.2. 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 neo4j-graphql-java.