-
Notifications
You must be signed in to change notification settings - Fork 0
Remove entries
Adrian Preuß edited this page Jan 10, 2018
·
1 revision
API.remove(table, parameters, callback);
Variable | Default | Type | Description |
---|---|---|---|
table | <MySQL-Table> |
String |
Your MySQL-Table |
parameters | {} |
Object |
Some data there will be removed |
callback | <Callback> |
Function |
Callback with the result |
The result of your Callback
is the count of removed entries/rows.
API.remove('yourTable', {
id: 2, // Remove all entries with the id "2"
}, function onSuccess(count) {
// Result
});
Created with for Knuddels.de