- Methods: All Methods Documented Methods Hide Methods
- Source: Display Source Hide Source
- Variables: Show Variables Hide Variables
Class ::xo::db::sql::bt_version
::xo::db::sql::bt_version create ...
Defined in
Class Relations
::xo::db::Class create ::xo::db::sql::bt_version \ -superclass ::xotcl::ObjectMethods (to be applied on the object)
set_active (scripted, public)
xo::db::sql::bt_version set_active [ -dbn dbn ] \ -active_version_id active_version_idAutomatically generated method
- Switches:
- -dbn (optional)
- -active_version_id (required)
- Testcases:
- No testcase defined.
#function_args: {ACTIVE_VERSION_ID {}} foreach var [list ACTIVE_VERSION_ID] { set varname [string tolower $var] if {[info exists $varname]} { set $var [set $varname] set _$var :$var } else { set _$var null } } set sql " select bt_version__set_active($_ACTIVE_VERSION_ID) " db_with_handle -dbn $dbn db { #ns_log notice "--sql=$sql" return [ ns_set value [ns_pg_bind 0or1row $db $sql] 0 ] }Variables
::xo::db::sql::bt_version set __default_metaclass ::xotcl::Class ::xo::db::sql::bt_version set __default_superclass ::xotcl::Object ::xo::db::sql::bt_version set abstract_p f ::xo::db::sql::bt_version set auto_save false ::xo::db::sql::bt_version set name_method {} ::xo::db::sql::bt_version set object_type ::xo::db::sql::bt_version ::xo::db::sql::bt_version set security_inherit_p t ::xo::db::sql::bt_version set sql_package_name bt_version ::xo::db::sql::bt_version set supertype acs_object ::xo::db::sql::bt_version set with_table true
- Methods: All Methods Documented Methods Hide Methods
- Source: Display Source Hide Source
- Variables: Show Variables Hide Variables