tsearch2::build_query (private)
tsearch2::build_query [ -query query ]
Defined in packages/tsearch2-driver/tcl/tsearch2-driver-procs.tcl
Build query string for tsearch2
- Switches:
- -query (optional)
- string to convert
- Returns:
- returns formatted query string for tsearch2 tsquery
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
Source code: if {$::tsearch2_driver::use_web_search_p && [db_compatible_rdbms_p postgresql] && [lindex [split [db_version] .] 0] >= 11 } { set query [tsearch2::build_query_postgres -query $query] } else { set query [tsearch2::build_query_tcl -query $query] } return $queryXQL Not present: Generic, Oracle PostgreSQL XQL file: packages/tsearch2-driver/tcl/tsearch2-driver-procs-postgresql.xql