xo::db::Class proc get_object_type (public)
xo::db::Class get_object_type [ -id id ]
Defined in packages/xotcl-core/tcl/05-db-procs.tcl
Return the object type for the give id.
- Switches:
- -id
(optional)- Returns:
- object_type, typically an XOTcl class
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- xotcl_core_tutorial_1, xotcl_core_tutorial_2
Source code: xo::xotcl_object_type_cache eval -partition_key $id $id { ::xo::dc 1row get_class "select object_type from acs_objects where object_id=:id" return $object_type }XQL Not present: Generic, PostgreSQL, Oracle