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

#845 in Database interfaces

Download history 2077/week @ 2024-07-10 2247/week @ 2024-07-17 2096/week @ 2024-07-24 2581/week @ 2024-07-31 2609/week @ 2024-08-07 2359/week @ 2024-08-14 2175/week @ 2024-08-21 2155/week @ 2024-08-28 2599/week @ 2024-09-04 2611/week @ 2024-09-11 1697/week @ 2024-09-18 3025/week @ 2024-09-25 2977/week @ 2024-10-02 2237/week @ 2024-10-09 3017/week @ 2024-10-16 3247/week @ 2024-10-23

11,899 downloads per month
Used in 3 crates

MIT license

11KB
186 lines

diesel_full_text_search

crates.io docs

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
~68K SLoC