We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9cf0d84 commit b09863fCopy full SHA for b09863f
packages/firestore/exp/src/api/reference.ts
@@ -53,7 +53,7 @@ function convertToDocSnapshot<T>(
53
): DocumentSnapshot<T> {
54
debugAssert(
55
snapshot.docs.size <= 1,
56
- 'Too many documents returned on a single document query'
+ 'Expected zero or a single result on a document-only query'
57
);
58
const doc = snapshot.docs.get(ref._key);
59
0 commit comments