Skip to content

removeAll

AGenson edited this page Mar 4, 2018 · 2 revisions

removeAll

Remove all entities from the table


Parameters

Property Type Default Description
ctx Object required Will serve to call a service action: ctx.call

Return

Type: Promise

If the entities were removed successfully :

Promise.resolve({
	name: "Operation Successful",
	message: `Delete Complete`
});

Else (an error occured) :

Promise.reject({ ... });

cf - details about errors

Clone this wiki locally