https://stackoverflow.com/questions/49040923/how-to-write-an-axios-query-where-i-dont-know-a-parent-value
https://firebase.google.com/docs/database/rest/retrieve-data
axios.get('/houses.json/' + '?orderBy="houseName"&startAt="A"' + '&auth=' + token)
Test CLI
curl 'https://lirycs-180710.firebaseio.com/list.json?orderBy="$key"&print=pretty'
Proto aby bylo možné řadit také podle jiných sloupců než klíčů - jsou indexovány automaticky - je třeba přidat položku do rules
https://firebase.google.com/docs/database/security/indexing-data
Rules
{
"rules": {
".read": "true",
".write": "true",
"text": {
".indexOn": "listId"
}
}
}
Test CLI:
curl 'https://lirycs-180710.firebaseio.com/text.json?orderBy="listId"&print=pretty'
Přihlásit se k odběru:
Komentáře k příspěvku (Atom)
Server Side Rendering - Next
The Benefits of Server Side Rendering Over Client Side Rendering
-
12 18 OBI - K-Board 18 mm 242,11 za desku Hornbach OSB deska KRONOSPAN OSB 3 F0 4 PD 18 x 625 x 2050 mm nebroušená 242,- za desku 14...
-
Mage Knight - Ultimátní edice Twilight imperium - marek si moc pochvaluje - 17 ROOT FantasyShop Ostrava Kooperativní hry Nemesi...
-
1. Getting Started With Express, VueJS & PostgreSQL 2. Build a Basic CRUD App with Vue.js and Node Vue.js with vue-cli, vue-route...
Žádné komentáře:
Okomentovat