[][src]Struct toql_core::sql_builder::SqlBuilder

pub struct SqlBuilder { /* fields omitted */ }

The Sql builder to build normal queries and count queries.

Methods

impl SqlBuilder[src]

pub fn new() -> Self[src]

Create a new SQL Builder

pub fn ignore_path<T: Into<String>>(self, path: T) -> Self[src]

Add path to list of ignore paths.

pub fn with_join<T: Into<String>>(self, join: T) -> Self[src]

TODO

pub fn build_count(
    &mut self,
    sql_mapper: &SqlMapper,
    query: &Query
) -> Result<SqlBuilderResult, SqlBuilderError>
[src]

Build query for total count.

pub fn build_path<T: Into<String>>(
    &mut self,
    path: T,
    sql_mapper: &SqlMapper,
    query: &Query
) -> Result<SqlBuilderResult, SqlBuilderError>
[src]

pub fn build(
    &mut self,
    sql_mapper: &SqlMapper,
    query: &Query
) -> Result<SqlBuilderResult, SqlBuilderError>
[src]

Build normal query.

Auto Trait Implementations

impl Send for SqlBuilder

impl Sync for SqlBuilder

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]