xo::db::CrClass instproc drop_object_type (public)

 <instance of xo::db::CrClass[i]> drop_object_type

Defined in 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.

Partial Call Graph (max 5 caller/called nodes):
%3 test_xotcl_core_tutorial_4 xotcl_core_tutorial_4 (test xotcl-core) xo::db::CrClass instproc drop_object_type xo::db::CrClass instproc drop_object_type test_xotcl_core_tutorial_4->xo::db::CrClass instproc drop_object_type

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
[ hide source ] | [ make this the default ]
Show another procedure: