BetaOptional BetadatasetBetafilterGROQ filter applied to comment documents. _type == "sanity.comment" is
added for you, so this only has to say which comments.
It is evaluated against every comment the organization can read. The
resource picks the organization but does not narrow the results; add a
target.document._ref prefix condition to keep to one dataset.
Optional BetaparamsOptional BetaperspectiveOptional BetaprojectOptional BetaresourceExplicit resource to use. On an individual operation this overrides any default;
on a SanityConfig it becomes the instance's default resource. Unlike
projectId/dataset, this can also be a media library or canvas resource.
An arbitrary comment query, for anything that is not "comments on this document" — cross-document views, per-user views, organization-wide activity.