-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add exists
to expression DSL functions
#414
Comments
I'd like to work on this, if no one else has started it. |
Sure, go ahead. I don't think anyone is working on this. Have you seen Josh Holmer notifications@github.com schrieb am Do. 15. Sep. 2016 um
|
I'm struggling a bit getting my initial test to pass. I have an implementation which compiles, which is based off of how
When currently my
|
While this is useful for some cases where you don't want to load the rows, this won't fill every use case for the expression, as right now you wouldn't be able to build a query that references the outer table. For us to do that and have it be type safe we'd need overlapping impls for `SelectableExpression` (story of my life), which requires rust-lang/rust#29864 being implemented. Fixes #414.
While this is useful for some cases where you don't want to load the rows, this won't fill every use case for the expression, as right now you wouldn't be able to build a query that references the outer table. For us to do that and have it be type safe we'd need overlapping impls for `SelectableExpression` (story of my life), which requires rust-lang/rust#29864 being implemented. Fixes #414.
This will allow the user to check for the existence of a record without loading it.
The text was updated successfully, but these errors were encountered: