xo::db::Class proc drop_type (public)

 xo::db::Class[i] drop_type -object_type object_type  \
    [ -drop_table drop_table ] [ -cascade_p cascade_p ]

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

Drop the object_type from the database and drop optionally the table. This method deletes as well all acs_objects of the object_type from the database.

Switches:
-object_type (required)
-drop_table (optional, defaults to "f")
-cascade_p (optional, defaults to "t")

Testcases:
No testcase defined.
[ show source ]
Show another procedure: