xo::db::CrClass instproc drop_object_type (public)
<instance of xo::db::CrClass> drop_object_type
Defined in /var/www/openacs.org/packages/xotcl-core/tcl/cr-procs.tcl
Delete the object type and remove the table for the attributes. This method should be called when all instances are deleted. It undoes everying what create_object_type has produced.
- Testcases:
- xotcl_core_tutorial_4
Source code: set object_type ${:object_type} ::xo::dc transaction { :folder_type unregister ::acs::dc call content_type drop_type -content_type ${:object_type} -drop_children_p t -drop_table_p t }XQL Not present: Generic, PostgreSQL, Oracle