acs::db::nsdb-postgresql method call news status (public)

 <instance of acs::db::nsdb-postgresql[i]> call news status \
    [ -dbn dbn ] -publish_date publish_date  \
    -archive_date archive_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)
-publish_date (required)
-archive_date (required)

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