Where 1=0 #1297
Unanswered
christopher-kleine
asked this question in
Q&A
Where 1=0
#1297
Replies: 1 comment
-
At first thought, this looks like a bug. Ideally, it should be skipped. Can you open an issue with all the required details in the issue template 🙏🏾 |
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 couldn't find a solution to this, so if this is a duplicate, let me know!
I'm using I have two tables:
If I want to load all items into a user, I can run:
This works fine.
But if a user has no items, SQLBoiler creates this query for the items:
Wouldn't it be more efficient to simply skip it?
If this is decided by the configuration, I'd like to know. Since - as I mentioned - I couldn't find anything about it.
Have a nice day!
Beta Was this translation helpful? Give feedback.
All reactions