Skip to content

Commit

Permalink
Merge pull request #41 from eth3lbert/plainto-tsquery
Browse files Browse the repository at this point in the history
Add `plainto_tsquery_with_search_config`
  • Loading branch information
weiznich authored Apr 11, 2024
2 parents 2636528 + 419ee47 commit a1484bf
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,10 @@ mod functions {
sql_function!(fn length(x: TsVector) -> Integer);
sql_function!(fn numnode(x: TsQuery) -> Integer);
sql_function!(fn plainto_tsquery(x: Text) -> TsQuery);
sql_function! {
#[sql_name = "plainto_tsquery"]
fn plainto_tsquery_with_search_config(config: RegConfig, querytext: Text) -> TsQuery;
}
sql_function!(fn querytree(x: TsQuery) -> Text);
sql_function!(fn strip(x: TsVector) -> TsVector);
sql_function!(fn to_tsquery(x: Text) -> TsQuery);
Expand Down

0 comments on commit a1484bf

Please sign in to comment.