SqlBuilder

Trait SqlBuilder 

Source
pub trait SqlBuilder {
    // Required method
    fn build_sql(&self) -> SqlFragment;
}
Expand description

Trait for types that can be converted to SQL fragments.

Required Methods§

Source

fn build_sql(&self) -> SqlFragment

Build the SQL fragment for this type.

Implementations on Foreign Types§

Source§

impl SqlBuilder for &str

Source§

impl SqlBuilder for String

Implementors§