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

Perform a query with inequality / not equals #202

Closed
Snowbases opened this issue Dec 8, 2020 · 1 comment
Closed

Perform a query with inequality / not equals #202

Snowbases opened this issue Dec 8, 2020 · 1 comment

Comments

@Snowbases
Copy link

I wonder if we can add '!=' and 'not-in' inside WhereFilterOp. because it said that Firebase release notes suggest there are now not-in and != queries. (Proper documentation is now available.)
https://stackoverflow.com/questions/47251919/firestore-how-to-perform-a-query-with-inequality-not-equals

Is there any way to add this inequality?

export type WhereFilterOp =
    | '<'
    | '<='
    | '=='
    | '!='
    | '>='
    | '>'
    | 'array-contains'
    | 'in'
    | 'array-contains-any'
    | 'not-in';

Currently, geofirestore only supports this:
image

Great tool anyway!

@MichaelSolati
Copy link
Owner

Hey @Snowbases I updated the core library to use the proper inequalities (as well as this library to use the new core). Update to v4.4.1 and you should be all set.

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