Skip to main content

Query

Trait Query 

Source
pub trait Query<T> {
    // Required method
    fn into_sql(self) -> String;
}
Expand description

Trait implemented by all query builder types. Use impl Query<T> as a return type for view functions and helpers.

Required Methods§

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§

Source§

impl<L> Query<L> for LeftSemiJoin<L>
where L: HasCols,

Source§

impl<R, L> Query<R> for RightSemiJoin<R, L>
where R: HasCols, L: HasCols,

Source§

impl<T> Query<T> for FromWhere<T>
where T: HasCols,

Source§

impl<T> Query<T> for RawQuery<T>

Source§

impl<T> Query<T> for Table<T>
where T: HasCols,