Replies: 1 comment
-
Ok, found a solution by using db.select(...).from(sql`(select 1)`) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I would like to write a select query for later usage in a CTE which does not use a from clause.
For example something like this query, which takes in arguments and converts them to helper values for later filtering:
Is this possible in some way? Because as far as I can see, there is no way to call
.select(...)
without afterwards calling.from(...)
as well.Beta Was this translation helpful? Give feedback.
All reactions