Skip to content

Commit

Permalink
Add plainto_tsquery_with_search_config
Browse files Browse the repository at this point in the history
  • Loading branch information
eth3lbert committed Apr 9, 2024
1 parent 2636528 commit 419ee47
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 419ee47

Please sign in to comment.