Delete

Navigation:  Development > Function Reference > InformationSet >

Delete

Previous pageReturn to chapter overviewNext page

This function delete entry.
 
Format: App::InformationSet(Name)->Delete(CONDITION);
 
Return true or false.
 
Important: This function delete all row if we do not pass condition..

 

Example: 
 
// Delete All
App::InformationSet('Post')->Delete();
 
// Delete Single Entry
App::InformationSet('Post')->Delete("id=5");
 
// Delete a batch
App::InformationSet('Post')->Delete("name like '%ABC%'");