pub struct Select {
pub with: Option<With>,
pub body: SelectBody,
pub order_by: Option<Vec<SortedColumn>>,
pub limit: Option<Box<Limit>>,
}Expand description
SELECT statement
Fields§
§with: Option<With>CTE
body: SelectBodybody
order_by: Option<Vec<SortedColumn>>ORDER BY
limit: Option<Box<Limit>>LIMIT
Implementations§
Source§impl Select
impl Select
Sourcepub fn column_count(&self) -> ColumnCount
pub fn column_count(&self) -> ColumnCount
Like sqlite3_column_count but more limited
Trait Implementations§
impl Eq for Select
impl StructuralPartialEq for Select
Source§impl ToSqlString for Select
impl ToSqlString for Select
Source§fn to_sql_string<C: ToSqlContext>(&self, context: &C) -> String
fn to_sql_string<C: ToSqlContext>(&self, context: &C) -> String
Convert the given value to String
Auto Trait Implementations§
impl Freeze for Select
impl RefUnwindSafe for Select
impl Send for Select
impl Sync for Select
impl Unpin for Select
impl UnsafeUnpin 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.