f-miyu / Plugin.CloudFirestore

MIT License
122 stars 44 forks source link

Where in, is supported? #41

Closed angelru closed 3 years ago

angelru commented 4 years ago

Hello,

var ids = query.Documents.Select(s => s.Id).ToList();
await CrossCloudFirestore.Current.Instance.GetCollection(Settings.UsersCollection)
                                      .WhereEqualsTo(FieldPath.DocumentId, ids).GetDocumentsAsync();

How can I make that query? https://stackoverflow.com/questions/46721517/google-firestore-how-to-get-document-by-multiple-ids-in-one-round-trip https://stackoverflow.com/questions/51212553/firebase-firestore-retrieve-multiple-documents-by-list-of-ids

f-miyu commented 4 years ago

It is not currently supported but I will update soon. I'm sorry to have kept you waiting.

SagarPanwala commented 4 years ago

Guys, How can we do WhereNotEqualsTo ?

angelru commented 4 years ago

@f-miyu any updates?? many thanks!