Retrieve all results from DB where object value matches something?
dev-dogsname opened this issue · comments
dev-dogsname commented
Wondering if you can retrieve multiple entries from the db - in my testing, i'm only getting a single item.
ie:
db
.collection('skus')
.doc({ type: 'LONGBOARD' })
.orderBy('sku')
.get()
.then((skus) => {
console.log('skus are: ', skus);
});
Then it returns all skus that are labeled with type "LONGBOARD"
Thanks!
pradeep-here commented
hi, any luck with where clause please, can the query be done with where clause ?