acs::db::nsdb-postgresql method call fs_simple_object new (public)
<instance of acs::db::nsdb-postgresql> call fs_simple_object new \ [ -dbn dbn ] -object_id object_id [ -object_type object_type ] \ -folder_id folder_id -name name -description description \ -creation_date creation_date -creation_user creation_user \ -creation_ip creation_ip -context_id context_id
Defined in packages/acs-tcl/tcl/00-acs-tcl-init.tcl
Automatically generated method TYPES: integer {character varying} integer {character varying} {character varying} {timestamp with time zone} integer {character varying} integer
- Switches:
- -dbn (optional)
- -object_id (required)
- -object_type (optional, defaults to
"fs_simple_object"
)- -folder_id (required)
- -name (required)
- -description (required)
- -creation_date (required)
- -creation_user (required)
- -creation_ip (required)
- -context_id (required)
- Testcases:
- No testcase defined.
Source code: db_with_handle -dbn $dbn __DB { set s [ns_pg_bind 0or1row $__DB {select fs_simple_object__new(CAST(:object_id AS integer),:object_type,CAST(:folder_id AS integer),:name,:description,:creation_date,CAST(:creation_user AS integer),:creation_ip,CAST(:context_id AS integer))}] return [ns_set value $s 0] }XQL Not present: Generic, PostgreSQL, Oracle