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 with parentheses #183

Open
designermonkey opened this issue Mar 24, 2021 · 0 comments
Open

Where with parentheses #183

designermonkey opened this issue Mar 24, 2021 · 0 comments

Comments

@designermonkey
Copy link

Maybe I'm missing something... How would I replicate the following?

where (
    find_in_set(tests.`compound.group`, :compound_groups) or
    find_in_set(tests.`compound.name`, :compound_names)
)
and (
    find_in_set(isolates.`species.genus`, :species_genera) or
    find_in_set(isolates.`species.name`, :species_names)
)

The parentheses are important in the above, and I can't figure out how I should do it with SQLQuery.

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

1 participant