acs::db::nsdb-postgresql method call acs_event shift (public)
<instance of acs::db::nsdb-postgresql> call acs_event shift \ [ -dbn dbn ] [ -event_id event_id ] [ -start_offset start_offset ] \ [ -end_offset end_offset ]
Defined in packages/acs-tcl/tcl/00-acs-tcl-init.tcl
Automatically generated method TYPES: integer integer integer
- Switches:
- -dbn (optional)
- -event_id (optional, accept empty)
- -start_offset (optional, defaults to
"0"
)- -end_offset (optional, defaults to
"0"
)- Testcases:
- No testcase defined.
Source code: db_with_handle -dbn $dbn __DB { set s [ns_pg_bind 0or1row $__DB {select acs_event__shift(CAST(:event_id AS integer),CAST(:start_offset AS integer),CAST(:end_offset AS integer))}] return [ns_set value $s 0] }XQL Not present: Generic, PostgreSQL, Oracle