De una Db
{
"recursos" : [ {
"enlace" : "https://us02web.zoom.us/j/88975209328",
"tipo" : "zoom",
"title" : "Zoom Zonal"
}, {
"enlace" : "https://us02web.zoom.us/j/88975209328",
"tipo" : "zoom",
"title" : "Zoom Reunión Zonal RCC"
}, {
"enlace" : "https://youtu.be/m6L2Svc0xEc",
"tipo" : "sabado",
"title" : "Reunión Emanuelina del 29-11-2020"
} ]
}
Para hacer where debemos agregar los indices en las reglas (indexOn)
{
"rules": {
"recursos":{
".indexOn":["tipo"]
},
".read": "now < 1610686800000", // 2021-1-15
".write": "now < 1610686800000", // 2021-1-15
}
}