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

Add query.whereNative #118

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Add query.whereNative #118

wants to merge 3 commits into from

Conversation

Paxa
Copy link

@Paxa Paxa commented Aug 28, 2016

This is for custom code in SQL conditions. For example

query.whereNative("ST_Contains(city.geom, superhero.geom)");
// or
query.nativeWhere("exists (select 1 from t1 where .. limit 1)");

Probably there can be a better name for method... If you think it's good I will write implementation for other drivers and add some tests

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

Successfully merging this pull request may close these issues.

1 participant