How to use the firebase .indexOn 1. DB Example ) posts >category > "USA" >LGhGFr86ErZBaEaNtAd >name : "brown"point : "100"... "LA" >LGhGFr86ErZBaEaNtAd >name : "brown"point : "100"... LGhGFr86ErZBaEaNtAd is a Key (some posts)--> ps. var newPostKey = firebase.database().ref().child('posts').push().key; 2. indexOn Example) "posts" : {"category": {"$location": {".indexOn": ["point"]}}} good luck! #..
[Firebase] How to use the firebase .indexOn
How to use the firebase .indexOn 1. DB Example ) posts >category > "USA" >LGhGFr86ErZBaEaNtAd >name : "brown"point : "100"... "LA" >LGhGFr86ErZBaEaNtAd >name : "brown"point : "100"... LGhGFr86ErZBaEaNtAd is a Key (some posts)--> ps. var newPostKey = firebase.database().ref().child('posts').push().key; 2. indexOn Example) "posts" : {"category": {"$location": {".indexOn": ["point"]}}} good luck! #..
2018.07.06