acs::db::nsdb-postgresql method call image new_revision (public)

 <instance of acs::db::nsdb-postgresql[i]> call image new_revision \
    [ -dbn dbn ] -item_id item_id  -revision_id revision_id  \
    -title title  -description description  \
    -publish_date publish_date  -mime_type mime_type  \
    -nls_language nls_language  -creation_user creation_user  \
    -creation_ip creation_ip  -height height  -width width  \
    -package_id package_id 

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

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

Switches:
-dbn (optional)
-item_id (required)
-revision_id (required)
-title (required)
-description (required)
-publish_date (required)
-mime_type (required)
-nls_language (required)
-creation_user (required)
-creation_ip (required)
-height (required)
-width (required)
-package_id (required)

Testcases:
No testcase defined.
Source code:
db_with_handle -dbn $dbn __DB {
   set s [ns_pg_bind 0or1row $__DB {select image__new_revision(CAST(:item_id AS integer),CAST(:revision_id AS integer),:title,:description,:publish_date,:mime_type,:nls_language,CAST(:creation_user AS integer),:creation_ip,CAST(:height AS integer),CAST(:width AS integer),CAST(:package_id AS integer))}]
   return [ns_set value $s 0]
}
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: