javascript - firebase: retrieve specific fields from object -


i using firebase storing data of players. want show statistics of players have structure like:

players:{ [playerid]:{ info:{ firstname: 'jon', lastname: 'mark', otherinfo:'aaa' }, othertoomuchinfo:{}, stats:{ totalplayed: 10, scorecounta: 14, scorecountb: 24, } }, [playerid]:{ info:{ firstname: 'hen', lastname: 'lee', otherinfo:'qwe' }, othertoomuchinfo:{}, stats:{ totalplayed: 33, scorecounta: 12, scorecountb: 43, } } }

how can retrieve stats of players firebase without loading other information?


Comments

Popular posts from this blog

java - Oracle EBS .ClassNotFoundException: oracle.apps.fnd.formsClient.FormsLauncher.class ERROR -

c# - how to use buttonedit in devexpress gridcontrol -

nvd3.js - angularjs-nvd3-directives setting color in legend as well as in chart elements -