EddyVerbruggen / nativescript-plugin-firebase

:fire: NativeScript plugin for Firebase
https://firebase.google.com
MIT License
1.01k stars 448 forks source link

Feature: Support queries on FieldPath #1777

Open delaneyb opened 3 years ago

delaneyb commented 3 years ago

Support use of FieldPath objects (firebase.firestore.FieldPath.documentId()) in queries, for example if we need to query for a few specific documents by their document Id:

return firebase.firestore.collection('someCollection')
    .where(firebase.firestore.FieldPath.documentId(), 'in', arrayOfDocIds)