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