service cloud.firestore {
match /databases/{database}/documents {
match /dev {
allow read : if true
allow write : if true
match /{name} {
allow read : if get(/databases/$(database)/documents/dev/$(name)).data.age>=8
allow write : if true
}
}
}
}{const collection = firestore.collection('dev')let docs = await collection.where('age', '>', 9).limit(1).get()--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-tal...@googlegroups.com.
To post to this group, send email to fireba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/9bf13ba5-d623-4b78-b502-b0a73666c3e7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-tal...@googlegroups.com.
To post to this group, send email to fireba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/e2639620-cd56-4e87-a9f2-6ffbf68912df%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.