Cannot insert using returned value of CTE with + insert #4014
Unanswered
kevinlaw91
asked this question in
Q&A
Replies: 0 comments
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.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm testing out the latest CTE
with
andinsert
added in version0.39.0
. Couldn't make it work.TS report error
Type 'PgSelectBase<"new_email", { id: PgColumn<{
...is not is not assignable to type 'string | SQL<unknown> | Placeholder<string, any>'.
Am I missing something?
Beta Was this translation helpful? Give feedback.
All reactions