- Methods: All Methods Documented Methods Hide Methods
- Source: Display Source Hide Source
- Variables: Show Variables Hide Variables
Class ::xo::db::sql::apm_parameter_value
::xo::db::sql::apm_parameter_value create ...
Defined in
Class Relations
::xo::db::Class create ::xo::db::sql::apm_parameter_value \ -superclass ::xotcl::ObjectMethods (to be applied on the object)
delete (scripted, public)
xo::db::sql::apm_parameter_value delete [ -dbn dbn ] \ [ -value_id value_id ]Automatically generated method
- Switches:
- -dbn (optional)
- -value_id (optional)
- Testcases:
- No testcase defined.
#function_args: {VALUE_ID null} foreach var [list VALUE_ID] { set varname [string tolower $var] if {[info exists $varname]} { set $var [set $varname] set _$var :$var } else { set _$var null } } set sql " select apm_parameter_value__delete($_VALUE_ID) " db_with_handle -dbn $dbn db { #ns_log notice "--sql=$sql" return [ ns_set value [ns_pg_bind 0or1row $db $sql] 0 ] }new (scripted, public)
xo::db::sql::apm_parameter_value new [ -dbn dbn ] \ [ -value_id value_id ] -package_id package_id \ -parameter_id parameter_id -attr_value attr_value \ [ -childof childof ]Automatically generated method
- Switches:
- -dbn (optional)
- -value_id (optional)
- -package_id (required)
- -parameter_id (required)
- -attr_value (required)
- -childof (optional)
- Testcases:
- No testcase defined.
#function_args: {VALUE_ID null} {PACKAGE_ID {}} {PARAMETER_ID {}} {ATTR_VALUE {}} foreach var [list VALUE_ID PACKAGE_ID PARAMETER_ID ATTR_VALUE] { set varname [string tolower $var] if {[info exists $varname]} { set $var [set $varname] set _$var :$var } else { set _$var null } } set sql " select apm_parameter_value__new($_VALUE_ID, $_PACKAGE_ID, $_PARAMETER_ID, $_ATTR_VALUE) " db_with_handle -dbn $dbn db { #ns_log notice "--sql=$sql" return [ ns_set value [ns_pg_bind 0or1row $db $sql] 0 ] }
- Methods: All Methods Documented Methods Hide Methods
- Source: Display Source Hide Source
- Variables: Show Variables Hide Variables