diesel_full_text_search
diesel_full_text_search copied to clipboard
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.