xo::db::Class proc object_type_exists_in_db (public)
xo::db::Class object_type_exists_in_db [ -object_type object_type ]
Defined in packages/xotcl-core/tcl/05-db-procs.tcl
Check, if an object_type exists in the database.
- Switches:
- -object_type
(optional)- Returns:
- 0 or 1
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- xotcl_core_tutorial_2, xotcl_core_tutorial_4
Source code: return [::xo::dc 0or1row check_type { select 1 from acs_object_types where object_type = :object_type }]XQL Not present: Generic, PostgreSQL, Oracle