acs::db::nsdb-postgresql method call timespan join_interval (public)

 <instance of acs::db::nsdb-postgresql[i]> call timespan join_interval \
    [ -dbn dbn ] -timespan_id timespan_id  -interval_id interval_id  \
    [ -copy_p copy_p ]

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

Automatically generated method TYPES: integer integer boolean

Switches:
-dbn (optional)
-timespan_id (required)
-interval_id (required)
-copy_p (optional, defaults to "true")

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