acs::db::nsdb-postgresql method call journal_entry new (public)

 <instance of acs::db::nsdb-postgresql[i]> call journal_entry new \
    [ -dbn dbn ] [ -journal_id journal_id ] -object_id object_id  \
    -action action  [ -action_pretty action_pretty ] \
    [ -creation_date creation_date ] [ -creation_user creation_user ] \
    [ -creation_ip creation_ip ] [ -msg msg ]

Defined in packages/acs-tcl/tcl/00-acs-tcl-init.tcl

Automatically generated method TYPES: integer integer {character varying} {character varying} {timestamp with time zone} integer {character varying} {character varying}

Switches:
-dbn (optional)
-journal_id (optional, accept empty)
-object_id (required)
-action (required)
-action_pretty (optional, accept empty)
-creation_date (optional, defaults to "now()")
-creation_user (optional, accept empty)
-creation_ip (optional, accept empty)
-msg (optional, accept empty)

Testcases:
No testcase defined.
Source code:
db_with_handle -dbn $dbn __DB {
   set s [ns_pg_bind 0or1row $__DB {select journal_entry__new(CAST(:journal_id AS integer),CAST(:object_id AS integer),:action,:action_pretty,:creation_date,CAST(:creation_user AS integer),:creation_ip,:msg)}]
   return [ns_set value $s 0]
}
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: