20 releases (6 stable)
2.2.0 | May 31, 2024 |
---|---|
2.1.1 | Oct 19, 2023 |
2.1.0 | May 26, 2023 |
2.0.0 | Aug 29, 2022 |
0.5.1 | Apr 15, 2016 |
#884 in Database interfaces
10,643 downloads per month
Used in 3 crates
11KB
186 lines
diesel_full_text_search
Add support for Postgres full text search to diesel, the safe, extensible ORM and query builder for Rust.
This crate also serves as an example of how to extend diesel with database specific features outside of diesel itself as third party crate.
Example Usage
use diesel_full_text_search::*;
let search = "bar";
let query = foo::table.filter(to_tsvector(Foo::description).matches(to_tsquery(search)));
For complete examples, see /examples.
Dependencies
~3.5MB
~67K SLoC