getAll()

You can get all database using with getAll()

Syntax

db.getAll()

Example

const allData = db.getAll()
console.log(allData)
/*
{
    user:{
        john:{
            name:"John",
            surname:"Doe",
            age:18,
            bag:[]
        }
    }
}
*/

If you have not setup check this page 👇

pageSetup

Last updated