Skip to content

diesel-rs/diesel_full_text_search

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

89 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.