xo::db::sql::workflow_case_log_entry proc new (public)
xo::db::sql::workflow_case_log_entry new [ -dbn dbn ] \ -entry_id entry_id [ -content_type content_type ] \ -case_id case_id -action_id action_id -comment comment \ -comment_mime_type comment_mime_type \ -creation_user creation_user -creation_ip creation_ip \ -package_id package_id [ -childof childof ]
Defined in packages/xotcl-core/tcl/05-db-procs.tcl
Automatically generated method
- Switches:
- -dbn
(optional)- -entry_id
(required)- -content_type
(defaults to"workflow_case_log_entry"
) (optional)- -case_id
(required)- -action_id
(required)- -comment
(required)- -comment_mime_type
(required)- -creation_user
(required)- -creation_ip
(required)- -package_id
(required)- -childof
(optional)- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
Source code: #function_args: {ENTRY_ID {}} {CONTENT_TYPE workflow_case_log_entry} {CASE_ID {}} {ACTION_ID {}} {COMMENT {}} {COMMENT_MIME_TYPE {}} {CREATION_USER {}} {CREATION_IP {}} {PACKAGE_ID {}} foreach var [list ENTRY_ID CONTENT_TYPE CASE_ID ACTION_ID COMMENT COMMENT_MIME_TYPE CREATION_USER CREATION_IP PACKAGE_ID] { set varname [string tolower $var] if {[info exists $varname]} { set $var [set $varname] set _$var :$var } else { set _$var null } } set sql " select workflow_case_log_entry__new($_ENTRY_ID, $_CONTENT_TYPE, $_CASE_ID, $_ACTION_ID, $_COMMENT, $_COMMENT_MIME_TYPE, $_CREATION_USER, $_CREATION_IP, $_PACKAGE_ID) " db_with_handle -dbn $dbn db { #ns_log notice "--sql=$sql" return [ ns_set value [ns_pg_bind 0or1row $db $sql] 0 ] }XQL Not present: Generic, PostgreSQL, Oracle