acs::db::nsdb-postgresql method call time_interval copy (public)
<instance of acs::db::nsdb-postgresql> call time_interval copy \ [ -dbn dbn ] -interval_id interval_id [ -offset offset ]
Defined in packages/acs-tcl/tcl/00-acs-tcl-init.tcl
Automatically generated method TYPES: integer integer
- Switches:
- -dbn (optional)
- -interval_id (required)
- -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 time_interval__copy(CAST(:interval_id AS integer),CAST(:offset AS integer))}] return [ns_set value $s 0] }XQL Not present: Generic, PostgreSQL, Oracle