acs::db::nsdb-postgresql method call file_storage rename_file (public)
<instance of acs::db::nsdb-postgresql> call file_storage rename_file \ [ -dbn dbn ] -file_id file_id -name name
Defined in packages/acs-tcl/tcl/00-acs-tcl-init.tcl
Automatically generated method TYPES: integer {character varying}
- Switches:
- -dbn (optional)
- -file_id (required)
- -name (required)
- Testcases:
- No testcase defined.
Source code: db_with_handle -dbn $dbn __DB { set s [ns_pg_bind 0or1row $__DB {select file_storage__rename_file(CAST(:file_id AS integer),:name)}] return [ns_set value $s 0] }XQL Not present: Generic, PostgreSQL, Oracle