Getting error: Alias is already used in this query #1859
Replies: 1 comment
-
It gets even more strange... if instead of calling
it works exactly as expected. |
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.
Uh oh!
There was an error while loading. Please reload this page.
-
I have the following code:
safeQuery is designed to handle some munti-tenancy:
It generates this SQL, which seems perfectly fine (and executes fine directly in postgres):
But generates an error: Alias "permissions" is already used in this query"
Am I missing something? Did I confuse Drizzle?
Thanks for any ideas.
Beta Was this translation helpful? Give feedback.
All reactions