fireshell icon indicating copy to clipboard operation
fireshell copied to clipboard

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

Open EricWang93 opened this issue 9 years ago • 1 comments

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.

EricWang93 avatar Feb 17 '16 10:02 EricWang93

Think you've got the wrong repo

@toddmotto

On 17 Feb 2016, at 10:56, EricWang93 [email protected] 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.

toddmotto avatar Feb 17 '16 11:02 toddmotto