acs::db::nsdb-postgresql method call acs_privilege create_privilege (public)
<instance of acs::db::nsdb-postgresql> call acs_privilege create_privilege \ [ -dbn dbn ] -privilege privilege [ -pretty_name pretty_name ] \ [ -pretty_plural pretty_plural ]
Defined in packages/acs-tcl/tcl/00-acs-tcl-init.tcl
Automatically generated method TYPES: {character varying} {character varying} {character varying}
- Switches:
- -dbn (optional)
- -privilege (required)
- -pretty_name (optional, accept empty)
- -pretty_plural (optional, accept empty)
- Testcases:
- No testcase defined.
Source code: db_with_handle -dbn $dbn __DB { set s [ns_pg_bind 0or1row $__DB {select acs_privilege__create_privilege(:privilege,:pretty_name,:pretty_plural)}] return [ns_set value $s 0] }XQL Not present: Generic, PostgreSQL, Oracle