Skip to content
This repository has been archived by the owner on Apr 4, 2023. It is now read-only.

Feature: Support queries on FieldPath #1777

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

Conversation

delaneyb
Copy link

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)

@delaneyb delaneyb changed the title Feature/support field path Feature: Support queries on FieldPath Jan 29, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant