acs::db::nsdb-postgresql method call content_item set_release_period (public)

 <instance of acs::db::nsdb-postgresql[i]> call content_item set_release_period \
    [ -dbn dbn ] -item_id item_id  [ -start_when start_when ] \
    [ -end_when end_when ]

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

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

Switches:
-dbn (optional)
-item_id (required)
-start_when (optional, accept empty)
-end_when (optional, accept empty)

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