toddmotto / fireshell

Fiercely quick front-end boilerplate and workflows, HTML5, Grunt, Sass.
http://getfireshell.com
1.52k stars 183 forks source link

how to validate the data in firebase when using data to create chart #78

Open EricWang93 opened 8 years ago

EricWang93 commented 8 years ago

when I use firebase rules '.validate ' to filter data, then creating a chart, but is there a using way to do it? my code as below: ".validate": "newData.hasChildren(['x', 'y']) && newData.child('x').exists() && newData.child('y').exists()" to ensure x attribute and y attribute are valid.

toddmotto commented 8 years ago

Think you've got the wrong repo

@toddmotto

On 17 Feb 2016, at 10:56, EricWang93 notifications@github.com wrote:

when I use firebase rules '.validate ' to filter data, then creating a chart, but is there a using way to do it? my code as below: ".validate": "newData.hasChildren(['x', 'y']) && newData.child('x').exists() && newData.child('y').exists()" to ensure x attribute and y attribute are valid.

— Reply to this email directly or view it on GitHub.