Replies: 3 comments 3 replies
-
I really like this! I am fine with the long version ( |
Beta Was this translation helpful? Give feedback.
-
I good referente it's the library JOOQ, i used a lot (https://www.jooq.org/) or even the apache spark. It feels more natural to me the code below: database.select().fromType("Vertex") |
Beta Was this translation helpful? Give feedback.
-
Ok, merged into 23.10.1-SNAPSHOT. It will be released as experimental in 23.10.1 and most likely final on v.23.11.1 next month. |
Beta Was this translation helpful? Give feedback.
-
For a Java developer, it could be quite painful coding a SQL string in the code. It would be cool to have a typed query like this:
Also cutting off the SQL parser means much faster queries. The query should be strongly typed to avoid syntax errors. Like when you write
database.select().fromType("Vertex").where().property("id").
your next option from the IDE must be the operators.I have a working branch on my computer I'm using for a while that is under review.
WDYT? Any cool idea to implement before it's out?
Also, do you prefer this long form or a shorter version where
property()
is justp()
,value()
justv()
andparameter()
justparam()
? The example above would be:Beta Was this translation helpful? Give feedback.
All reactions