I’m doing:
const querySnapshot = await db
.collectionGroup('documents')
.where('id', '==', id)
.get();
And expecting a single document as a result. What’s the easiest way to get it?
Blancer.com Tutorials and projects
Freelance Projects, Design and Programming Tutorials
I’m doing:
const querySnapshot = await db
.collectionGroup('documents')
.where('id', '==', id)
.get();
And expecting a single document as a result. What’s the easiest way to get it?