Firsebase set



    Khalid Khan

    Firebase Smart Code Snippets

    The above code uses the firebase.database().ref() method to create a new reference to an existing database. The first argument is the path to the database to reference. The second argument is a {"attribute value":"} pair which sets the value of the specified attribute in the database to the value specified.

    Shortcut: firebase.set

    firebase.database().ref(/* path */).set({,
       /* "attribute value */",
    Codiga Logo
    Codiga Hub
    • Rulesets
    • Playground
    • Snippets
    • Cookbooks
    • Security
    • Privacy Policy
    • Code Privacy
    • Terms of Service
    soc-2 icon

    We are SOC-2 Compliance Certified

    G2 high performer medal

    Codiga – All rights reserved 2022.