<delete> delete from the database

name
delete
xml namespace
http://moyaproject.com/db

Delete an object from the database.

Example

<db:get model="#Post" let:name="first_post" dst="post"/>
<db:delete src="post"/>
attributes
name purpose type required? default choices
db Database text No "_default"
src Object or queryset to delete expression Yes
inherited attributes
name purpose type required? default choices
if Conditional expression expression No yes