acs::db::nsdb-postgresql method call file_storage move_file (public)

 <instance of acs::db::nsdb-postgresql[i]> call file_storage move_file \
    [ -dbn dbn ] -file_id file_id  -target_folder_id target_folder_id  \
    -creation_user creation_user  -creation_ip creation_ip 

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

Automatically generated method TYPES: integer integer integer {character varying}

Switches:
-dbn (optional)
-file_id (required)
-target_folder_id (required)
-creation_user (required)
-creation_ip (required)

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