pub struct SqlSelect {
pub project: Project,
pub from: SqlFrom,
pub filter: Option<SqlExpr>,
pub limit: Option<Box<str>>,
}Expand description
A SELECT statement in the SQL query language
Fields§
§project: Project§from: SqlFrom§filter: Option<SqlExpr>§limit: Option<Box<str>>Implementations§
Source§impl SqlSelect
impl SqlSelect
pub fn qualify_vars(self) -> Self
pub fn find_unqualified_vars(self) -> SqlParseResult<Self>
Sourcepub fn resolve_sender(self, sender_identity: Identity) -> Self
pub fn resolve_sender(self, sender_identity: Identity) -> Self
Replace the :sender parameter with the Identity it represents
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SqlSelect
impl RefUnwindSafe for SqlSelect
impl Send for SqlSelect
impl Sync for SqlSelect
impl Unpin for SqlSelect
impl UnwindSafe for SqlSelect
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> 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