https://github.com/diesel-rs/diesel_full_text_search
https://github.com/diesel-rs/diesel_full_text_search
Last synced: 25 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/diesel-rs/diesel_full_text_search
- Owner: diesel-rs
- License: mit
- Created: 2015-11-26T18:32:28.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2024-11-11T11:04:16.000Z (7 months ago)
- Last Synced: 2025-05-08T12:49:09.416Z (about 1 month ago)
- Language: Rust
- Size: 61.5 KB
- Stars: 77
- Watchers: 7
- Forks: 33
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE-MIT
Awesome Lists containing this project
README
# diesel_full_text_search

[](https://docs.rs/diesel_full_text_search)Add support for [Postgres full text search](https://www.postgresql.org/docs/current/textsearch.html)
to [diesel](https://diesel.rs/), the safe, extensible ORM and query builder for [Rust](https://www.rust-lang.org/).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
```rust
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](./examples).