Skip to content
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

Where "Not Null" and conditionnal operators #345

Open
Mysteriosis opened this issue Jun 7, 2022 · 1 comment
Open

Where "Not Null" and conditionnal operators #345

Mysteriosis opened this issue Jun 7, 2022 · 1 comment

Comments

@Mysteriosis
Copy link

Hi, is there a way to perform a query with a "not null" condition ?
And what about and / or conditions ?

Plus, this project looks like to be the most advanced / known ODM for Deno but it seems to be forgotten, are you guys still active on it ?
Anyway, thank you for your answer and nice job.

@LiamKarlMitchell
Copy link

where('some_field', null)

Does not seem to work.

Appears to work to check null.

where('some_field', 'is', null)

Appears to work to check not null.

where('some_field', 'is not', null)

Can't have more complex queries yet? Not implemented yet.
Can't use DB raw values e.g. now()?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants