callback::search::extra_arg::contract (private)

 callback::search::extra_arg::contract [ -value value ] \
    [ -object_table_alias object_table_alias ]

Defined in packages/search/tcl/search-procs.tcl

Generate a query fragment for search filtering by extra argument. Argument name will be the implementation name called. Search driver should call this for every extra argument and then build the search query using the query fragments returned.

Switches:
-value (optional)
value of the argument
-object_table_alias (optional)
SQL alias of table that contains the object_id to join against
Returns:
list in array format of {from_clause {} where_clause {}}

Partial Call Graph (max 5 caller/called nodes):
%3

Testcases:
No testcase defined.
Source code:
            # this is a callback contract which only invokes its arg parser for input validation
XQL Not present:
PostgreSQL
Generic XQL file:
packages/search/tcl/search-procs.xql

Oracle XQL file:
packages/search/tcl/search-procs-oracle.xql

[ hide source ] | [ make this the default ]
Show another procedure: