xo::db::CrClass proc delete (public)

 xo::db::CrClass[i] delete [ -item_id item_id ]

Defined in /var/www/openacs.org/packages/xotcl-core/tcl/cr-procs.tcl

Delete a CrItem in the database

Switches:
-item_id (optional)

Testcases:
xotcl_core_tutorial_4
Source code:
set object_type [:get_object_type -item_id $item_id]
$object_type delete -item_id $item_id
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: