acs::db::postgresql method argument_name_match (protected)

 <instance of acs::db::postgresql[i]> argument_name_match \
    [ -key key ] [ -function_arg_names function_arg_names ] \
    [ -db_names db_names ]

Defined in packages/acs-tcl/tcl/acs-db-12-procs.tcl

Does the name from function_args match the names obtained from PostgreSQL?

Switches:
-key (optional)
-function_arg_names (optional)
-db_names (optional)

Testcases:
No testcase defined.
Source code:
set success 1
foreach function_arg_name $function_arg_names db_name $db_names {
    if {$db_name ne ""
        && $function_arg_name ne $db_name
        && ![string match *_$function_arg_name $db_name]
    } {
        set success 0
        #ns_log notice ===== argument match $key function_arg_name '$function_arg_name' does not match name from db '$db_name' \n  function_arg_names <$function_arg_names> db_names <$db_names>
        break
    }
}

#ns_log notice ===== argument match $key function_arg_names '$function_arg_names' db '$db_names' => $success
return $success
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: