acs::db::nsdb-postgresql method call timespan new (public)
<instance of acs::db::nsdb-postgresql> call timespan new \ [ -dbn dbn ] [ -start_date start_date ] [ -end_date end_date ]
Defined in packages/acs-tcl/tcl/00-acs-tcl-init.tcl
Automatically generated method TYPES: {timestamp with time zone} {timestamp with time zone}
- Switches:
- -dbn (optional)
- -start_date (optional, accept empty)
- -end_date (optional, accept empty)
- Testcases:
- No testcase defined.
Source code: db_with_handle -dbn $dbn __DB { set s [ns_pg_bind 0or1row $__DB {select timespan__new(:start_date,:end_date)}] return [ns_set value $s 0] }XQL Not present: Generic, PostgreSQL, Oracle