Struct Select
pub struct Select {
pub returning: Returning,
pub source: Source,
pub filter: Filter,
}Fields§
§returning: ReturningThe projection part of a SQL query.
source: SourceThe FROM part of a SQL query. For model-level, this is the model being
selected with any “includes”. For table-level, this is the table with
joins.
filter: FilterQuery filter
Implementations§
Trait Implementations§
§impl From<SourceModel> for Select
impl From<SourceModel> for Select
§fn from(value: SourceModel) -> Select
fn from(value: SourceModel) -> Select
Converts to this type from the input type.
§impl<'a, T> IntoExprTarget<'a, T> for &'a Selectwhere
T: Resolve,
impl<'a, T> IntoExprTarget<'a, T> for &'a Selectwhere
T: Resolve,
fn into_expr_target(self, schema: &'a T) -> ExprTarget<'a>
impl StructuralPartialEq for Select
Auto Trait Implementations§
impl Freeze for Select
impl RefUnwindSafe for Select
impl Send for Select
impl Sync for Select
impl Unpin for Select
impl UnwindSafe for Select
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