Comments matching a GROQ filter, newest first, replies included.
undefined until the first snapshot arrives.
The filter runs over every comment the organization can read, not only the
ones on the resource you pass. Comment queries are routed by organization and
the resource is not sent with them, so it chooses the organization and the
client but does not narrow the results. To keep to one dataset, add a
target.document._ref prefix condition yourself: refs are
dataset:{projectId}.{dataset}:{documentId}.
Comments matching a GROQ filter, newest first, replies included.
undefineduntil the first snapshot arrives.The filter runs over every comment the organization can read, not only the ones on the resource you pass. Comment queries are routed by organization and the resource is not sent with them, so it chooses the organization and the client but does not narrow the results. To keep to one dataset, add a
target.document._refprefix condition yourself: refs aredataset:{projectId}.{dataset}:{documentId}.