pub struct OrderByAliasTransformer { /* private fields */ }Expand description
Transformer that rewrites ORDER BY to use aggregate aliases
Implementations§
Trait Implementations§
Source§impl ASTTransformer for OrderByAliasTransformer
impl ASTTransformer for OrderByAliasTransformer
Source§fn description(&self) -> &str
fn description(&self) -> &str
Description of what this transformer does
Source§fn transform(&mut self, stmt: SelectStatement) -> Result<SelectStatement>
fn transform(&mut self, stmt: SelectStatement) -> Result<SelectStatement>
Transform the AST, returning the modified statement Read more
Auto Trait Implementations§
impl Freeze for OrderByAliasTransformer
impl RefUnwindSafe for OrderByAliasTransformer
impl Send for OrderByAliasTransformer
impl Sync for OrderByAliasTransformer
impl Unpin for OrderByAliasTransformer
impl UnwindSafe for OrderByAliasTransformer
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more