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