Firebase.removeValue()

Remove data from a specific firebase location, such as "/users/".

Usage

Hover over inputs/exits for more info.

var Firebase = require('machinepack-firebase');


// Remove data from a specific firebase location, such as "/users/".

Firebase.removeValue({

firebaseURL: 'your-firebase-database.firebaseio.com/users/',

}).exec({

// An unexpected error occurred.

error: function (err) {

 

},

// OK.

success: function () {

 

},

});

Inputs

firebaseURL required

The reference URL for your Firebase dataset.

'your-firebase-database.firebaseio.com/users/'

Exits

error

An unexpected error occurred.

success

OK.