firebase.database.servervalue.crement
// It will automatically increase the value of db-path by 1
database.ref('db-path').set(firebase.database.ServerValue.increment(1))
ashirbad-panigrahi