acs::db::nsdb-postgresql method call apm_package_version add_interface (public)

 <instance of acs::db::nsdb-postgresql[i]> call apm_package_version add_interface \
    [ -dbn dbn ] [ -interface_id interface_id ] \
    -version_id version_id  -interface_uri interface_uri  \
    -interface_version interface_version 

Defined in packages/acs-tcl/tcl/00-acs-tcl-init.tcl

Automatically generated method TYPES: integer integer {character varying} {character varying}

Switches:
-dbn (optional)
-interface_id (optional, accept empty)
-version_id (required)
-interface_uri (required)
-interface_version (required)

Testcases:
No testcase defined.
Source code:
db_with_handle -dbn $dbn __DB {
   set s [ns_pg_bind 0or1row $__DB {select apm_package_version__add_interface(CAST(:interface_id AS integer),CAST(:version_id AS integer),:interface_uri,:interface_version)}]
   return [ns_set value $s 0]
}
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: