acs::db::nsdb-postgresql method call acs_object update_last_modified (public)

 <instance of acs::db::nsdb-postgresql[i]> call acs_object update_last_modified \
    [ -dbn dbn ] -object_id object_id  -modifying_user modifying_user  \
    -modifying_ip modifying_ip  [ -last_modified last_modified ]

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

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

Switches:
-dbn (optional)
-object_id (required)
-modifying_user (required)
-modifying_ip (required)
-last_modified (optional, defaults to "now()")

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