acs::db::nsdb-postgresql method call acs_sc_operation new (public)
<instance of acs::db::nsdb-postgresql> call acs_sc_operation new \ [ -dbn dbn ] -contract_name contract_name \ -operation_name operation_name -operation_desc operation_desc \ [ -operation_iscachable_p operation_iscachable_p ] \ -operation_nargs operation_nargs \ -operation_inputtype operation_inputtype \ -operation_outputtype operation_outputtype
Defined in packages/acs-tcl/tcl/00-acs-tcl-init.tcl
Automatically generated method TYPES: {character varying} {character varying} text boolean integer {character varying} {character varying}
- Switches:
- -dbn (optional)
- -contract_name (required)
- -operation_name (required)
- -operation_desc (required)
- -operation_iscachable_p (optional, defaults to
"f"
)- -operation_nargs (required)
- -operation_inputtype (required)
- -operation_outputtype (required)
- Testcases:
- No testcase defined.
Source code: db_with_handle -dbn $dbn __DB { set s [ns_pg_bind 0or1row $__DB {select acs_sc_operation__new(:contract_name,:operation_name,:operation_desc,:operation_iscachable_p,CAST(:operation_nargs AS integer),:operation_inputtype,:operation_outputtype)}] return [ns_set value $s 0] }XQL Not present: Generic, PostgreSQL, Oracle