Class ::xo::db::sql::workflow_case_log_entry (public)

 ::xo::db::Class ::xo::db::sql::workflow_case_log_entry[i]

Defined in

Testcases:
No testcase defined.
Source code:
namespace eval ::xo::db::sql {}
::nsf::object::alloc ::xo::db::Class ::xo::db::sql::workflow_case_log_entry {set :__default_metaclass ::xotcl::Class
   set :__default_superclass ::xotcl::Object
   set :abstract_p f
   set :auto_save false
   set :name_method {}
   set :object_type ::xo::db::sql::workflow_case_log_entry
   set :security_inherit_p t
   set :sql_package_name workflow_case_log_entry
   set :supertype acs_object
   set :with_table true}
::xo::db::sql::workflow_case_log_entry proc new {{-dbn {}} -entry_id:required {-content_type workflow_case_log_entry} -case_id:required -action_id:required -comment:required -comment_mime_type:required -creation_user:required -creation_ip:required -package_id:required -childof} {
      #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
[ hide source ] | [ make this the default ]
Show another procedure: