Skip to main content

IntoDbFilter

Trait IntoDbFilter 

Source
pub trait IntoDbFilter {
    // Required methods
    fn into_mongo_filter(self) -> Document;
    fn into_mongo_update(self) -> Document;
    fn into_postgres_filter(self, offset: usize) -> (String, Vec<DbValue>);
    fn into_postgres_update(self) -> (String, Vec<DbValue>);
    fn into_sqlite_filter(self) -> (String, Vec<DbValue>);
    fn into_sqlite_update(self) -> (String, Vec<DbValue>);
}

Required Methods§

Source

fn into_mongo_filter(self) -> Document

Source

fn into_mongo_update(self) -> Document

Source

fn into_postgres_filter(self, offset: usize) -> (String, Vec<DbValue>)

Source

fn into_postgres_update(self) -> (String, Vec<DbValue>)

Source

fn into_sqlite_filter(self) -> (String, Vec<DbValue>)

Source

fn into_sqlite_update(self) -> (String, Vec<DbValue>)

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§