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

Download history 2171/week @ 2024-08-19 2372/week @ 2024-08-26 1984/week @ 2024-09-02 2646/week @ 2024-09-09 2047/week @ 2024-09-16 2944/week @ 2024-09-23 3086/week @ 2024-09-30 2122/week @ 2024-10-07 2650/week @ 2024-10-14 3618/week @ 2024-10-21 3268/week @ 2024-10-28 3035/week @ 2024-11-04 3525/week @ 2024-11-11 2186/week @ 2024-11-18 2386/week @ 2024-11-25 2503/week @ 2024-12-02

10,643 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