Trait pg_worm::query::ToQuery

source ·
pub trait ToQuery {
    // Required method
    fn to_sql(&self) -> String;
}
Expand description

This trait is implemented by anything that goes into a query.

Required Methods§

source

fn to_sql(&self) -> String

Implementations on Foreign Types§

source§

impl ToQuery for usize

source§

fn to_sql(&self) -> String

source§

impl<T: ToQuery> ToQuery for Option<T>

source§

fn to_sql(&self) -> String

Implementors§