acs::db::nsdb-postgresql method call acs_sc_operation new (public)

 <instance of acs::db::nsdb-postgresql[i]> 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-api-browser/tcl/api-doc-init.tcl

Automatically generated method

Switches:
-dbn
(optional)
-contract_name
(required)
-operation_name
(required)
-operation_desc
(required)
-operation_iscachable_p
(defaults to "f") (optional)
-operation_nargs
(optional)
-operation_inputtype
(required)
-operation_outputtype
(required)

Partial Call Graph (max 5 caller/called nodes):
%3 db_with_handle db_with_handle (public) acs::db::nsdb-postgresql instproc {call acs_sc_operation new} acs::db::nsdb-postgresql instproc {call acs_sc_operation new} acs::db::nsdb-postgresql instproc {call acs_sc_operation new}->db_with_handle

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,:operation_nargs,:operation_inputtype,:operation_outputtype)}]
   return [ns_set value $s 0]
}
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: