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

#890 in Database interfaces

Download history 2719/week @ 2024-07-27 2398/week @ 2024-08-03 2691/week @ 2024-08-10 2175/week @ 2024-08-17 2364/week @ 2024-08-24 1940/week @ 2024-08-31 2642/week @ 2024-09-07 2138/week @ 2024-09-14 2325/week @ 2024-09-21 3650/week @ 2024-09-28 2161/week @ 2024-10-05 2617/week @ 2024-10-12 3394/week @ 2024-10-19 3467/week @ 2024-10-26 3098/week @ 2024-11-02 2559/week @ 2024-11-09

13,203 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
~67K SLoC