Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
EricWang93 opened this issue Feb 17, 2016 · 1 comment
Open

Comments

@EricWang93
Copy link

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
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants