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

Query Firebase Firestore documents by the ID #343

Open
jacozsz opened this issue Jun 19, 2023 · 1 comment
Open

Query Firebase Firestore documents by the ID #343

jacozsz opened this issue Jun 19, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@jacozsz
Copy link

jacozsz commented Jun 19, 2023

I'm trying to make a query but I need to filter that there are not show some documents. example:

query.from("TORNEY")

query.where('documentId', FirestoreQuery.OPERATOR.NOT_IN, torney)

torney is s array of tournaments in which the player is registered

i have a tab that I show the tournaments in which the player is registered

and another tab to show Available tournaments

I've been searching and I find something like this firebase.firestore.FieldPath.documentId(), is there something similar in the plugin to use it?

@jacozsz jacozsz added the bug Something isn't working label Jun 19, 2023
@WolfgangSenff
Copy link
Collaborator

Sorry it took us so long to get back to you on this! I am currently doing a big refactor of the Firestore implementation, and that's going to involve queries. I'll have to look into this, but if a FieldPath query exists for the document ID, then in theory we should be able to support it! I'll look into it when I can.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants