Struct toql_core::sql_builder::build_result::BuildResult
source · [−]pub struct BuildResult { /* private fields */ }
Expand description
The SQL Builder Result is created by the SQL Builder.
Implementations
sourceimpl BuildResult
impl BuildResult
pub fn any_selected(&self) -> bool
pub fn push_select(&mut self, expr: SqlExpr)
pub fn table_alias(&self) -> &String
pub fn column_counter(&self) -> usize
pub fn set_preselect(&mut self, preselect_expr: SqlExpr)
pub fn set_modifier(&mut self, modifier: String)
pub fn set_extra(&mut self, extra: String)
pub fn set_from(&mut self, table: String, canonical_alias: String)
pub fn push_join(&mut self, j: SqlExpr)
pub fn to_sql(
&self,
aux_params: &ParameterMap<'_>,
alias_translator: &mut AliasTranslator
) -> Result<Sql>
sourcepub fn set_count_select(&mut self)
pub fn set_count_select(&mut self)
Returns count SQL statement.
pub fn select_stream(&self) -> &SelectStream
pub fn unmerged_home_paths(&self) -> &HashSet<String>
Auto Trait Implementations
impl RefUnwindSafe for BuildResult
impl Send for BuildResult
impl Sync for BuildResult
impl Unpin for BuildResult
impl UnwindSafe for BuildResult
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more