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

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

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

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

Switches:
-dbn (optional)
-event_id (required)
-cutoff_date (optional, accept empty)

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