Skip to content

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

Description

@EricWang93

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions