acs::db::nsdb-postgresql method call acs_message edit_image (public)
<instance of acs::db::nsdb-postgresql> call acs_message edit_image \ [ -dbn dbn ] -image_id image_id [ -title title ] \ [ -description description ] [ -mime_type mime_type ] \ [ -data data ] [ -width width ] [ -height height ] \ [ -creation_date creation_date ] [ -creation_user creation_user ] \ [ -creation_ip creation_ip ] [ -is_live is_live ]
Defined in packages/acs-tcl/tcl/00-acs-tcl-init.tcl
Automatically generated method TYPES: integer {character varying} text {character varying} integer integer integer {timestamp with time zone} integer {character varying} boolean
- Switches:
- -dbn (optional)
- -image_id (required)
- -title (optional, accept empty)
- -description (optional, accept empty)
- -mime_type (optional, defaults to
"text/plain"
)- -data (optional, accept empty)
- -width (optional, accept empty)
- -height (optional, accept empty)
- -creation_date (optional, defaults to
"sysdate"
)- -creation_user (optional, accept empty)
- -creation_ip (optional, accept empty)
- -is_live (optional, defaults to
"t"
)- Testcases:
- No testcase defined.
Source code: db_with_handle -dbn $dbn __DB { set s [ns_pg_bind 0or1row $__DB {select acs_message__edit_image(CAST(:image_id AS integer),:title,:description,:mime_type,CAST(:data AS integer),CAST(:width AS integer),CAST(:height AS integer),:creation_date,CAST(:creation_user AS integer),:creation_ip,:is_live)}] return [ns_set value $s 0] }XQL Not present: Generic, PostgreSQL, Oracle