acs::db::nsdb-postgresql method call acs_event new_instance (public)

 <instance of acs::db::nsdb-postgresql[i]> call acs_event new_instance \
    [ -dbn dbn ] -event_id event_id  -date_offset date_offset 

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

Automatically generated method TYPES: integer interval

Switches:
-dbn (optional)
-event_id (required)
-date_offset (required)

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