- Methods: All Methods Documented Methods Hide Methods
- Source: Display Source Hide Source
- Variables: Show Variables Hide Variables
Class ::xo::db::sql::sec_session_property
::xo::db::sql::sec_session_property create ...
Defined in
Class Relations
::xo::db::Class create ::xo::db::sql::sec_session_property \ -superclass ::xotcl::ObjectMethods (to be applied on the object)
upsert (scripted, public)
xo::db::sql::sec_session_property upsert [ -dbn dbn ] \ -session_id session_id -module module -name name -value value \ -secure_p secure_p -last_hit last_hitAutomatically generated method
- Switches:
- -dbn (optional)
- -session_id (required)
- -module (required)
- -name (required)
- -value (required)
- -secure_p (required)
- -last_hit (required)
- Testcases:
- No testcase defined.
#function_args: {SESSION_ID {}} {MODULE {}} {NAME {}} {VALUE {}} {SECURE_P {}} {LAST_HIT {}} foreach var [list SESSION_ID MODULE NAME VALUE SECURE_P LAST_HIT] { set varname [string tolower $var] if {[info exists $varname]} { set $var [set $varname] set _$var :$var } else { set _$var null } } set sql " select sec_session_property__upsert($_SESSION_ID, $_MODULE, $_NAME, $_VALUE, $_SECURE_P, $_LAST_HIT) " 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