≡ModelConfig - DbModelDeleteCall

Remove an entry from database by creating a delete sql from entry in sourcePath. The object in sourcePath must be an instance of @ModelConfigDbObject.

Github
Super Class
≡DbModelCall
Interface
≡ConfigWriteCommand
Delete Example

With ≡DbModelDeleteCall one has the possibility to delete entries in the database on the server side depending on the object parameters defined in ≡sourcePath .

In the example the ≡sourcePath "abc" contains an ≡AnObject object with ≡naturalId "key2". ≡DbModelDeleteCall will remove the second entry of the preloaded DbSqlConfig.json#L41. The deleted entry will be returned on ≡targetPath "xyz".

The examples would not work since the role guest has not the permission to delete. Only ≡DbModelReadCall is allowed.

≡AnObject shows that there is a only read property for "guest".

@{"(TemplateDirResourceCall).":{ "fileConfigKey":"examples", "fileName":"DbModelElement.html", "logLevel":"NONE" } }.
Fields
Configuration
This Page Elements
Page-Template: ConfigsPage.html
Header: Header.html
Footer: Footer.html
Postversion of this page: