pub trait PsqlSearch
where Self: Resource + Sized,
{ // Provided methods fn advanced_search<'async_trait>( filter: AdvancedSearchFilter ) -> Pin<Box<dyn Future<Output = Result<Vec<Row>, ArrErr>> + Send + 'async_trait>> where Self: Send + 'async_trait { ... } fn _param_from_search_col( col: &SearchCol ) -> Result<Box<dyn ToSql + Sync + Send>, ArrErr> { ... } }
Expand description

Trait implementing advanced search function for resources

Provided Methods§

Generic search function based on advanced filters

source

fn _param_from_search_col( col: &SearchCol ) -> Result<Box<dyn ToSql + Sync + Send>, ArrErr>

Converts the passed string value for the search field into the right Sql type. for internal use

Object Safety§

This trait is not object safe.

Implementors§