neo4j-contrib / sql2cypher

Experimental SQL to Cypher Transpiler using jooq and cypher-dsl
Apache License 2.0
26 stars 1 forks source link

QOM for `Insert` or general `Query` is missing in jOOQ #3

Closed michael-simons closed 7 months ago

lukaseder commented 1 year ago

Is this related to? https://github.com/neo4j-contrib/sql2cypher/issues/1.

It's not missing in jOOQ 3.18: https://www.jooq.org/javadoc/dev/org.jooq/org/jooq/impl/QOM.Insert.html

But perhaps you downgraded jOOQ?

lukaseder commented 1 year ago

There's a part about the QOM API being experimental, where I'm not quite sure what to do with those top level types like Query, or any other type listed here: https://blog.jooq.org/a-brief-overview-over-the-most-common-jooq-types/

As you can see, I'm not even sure how to name these types other than "most common jOOQ types". I'm not sure yet whether:

We can already work with this QOM API, but this is the part that will probably break in the near future. Once this project here builds with tests, I'll make it part of jOOQ's CI/CD pipeline, to be able to proactively upgrade its logic, should jOOQ's API change.

So, in the short run, perhaps you have a specific question?

michael-simons commented 7 months ago

I don't know what I was thinking here… :) It works.