Skip to content

SubscribeQuery - unexpected document path piece #133

Discussion options

You must be logged in to vote

Correct, IncludesDescendants must be set to false.

Unfortunately, the Firestore does not support listening to changes in nested collections.

To monitor all documents in the users/<fuid>/bookings/*subcollection, you need this query:

  fDatabase.SubscribeQuery(TStructuredQuery.CreateForCollection('bookings'),
    OnFSChangedDocInCollection, OnFSDeletedDocCollection, ['users', fuid]);

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
5 replies
@Autoneer
Comment options

@Autoneer
Comment options

@SchneiderInfosystems
Comment options

@SchneiderInfosystems
Comment options

@Autoneer
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by SchneiderInfosystems
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants