pub struct WindowSelect {
pub function: String,
pub alias: String,
pub partition_by: Option<Vec<String>>,
pub order_by: Option<Vec<String>>,
pub window_name: Option<String>,
pub frame: Option<WindowFrame>,
}Expand description
A window function in the select list.
PHP: Utopia\Query\Builder\WindowSelect.
Fields§
§function: StringThe function call (ROW_NUMBER()).
alias: StringThe alias.
partition_by: Option<Vec<String>>The partition columns, if any.
order_by: Option<Vec<String>>The order columns (-col descending), if any.
window_name: Option<String>A named window used instead of an inline one.
frame: Option<WindowFrame>The frame, if any.
Implementations§
Trait Implementations§
Source§impl Clone for WindowSelect
impl Clone for WindowSelect
Source§impl Debug for WindowSelect
impl Debug for WindowSelect
impl Eq for WindowSelect
Source§impl PartialEq for WindowSelect
impl PartialEq for WindowSelect
impl StructuralPartialEq for WindowSelect
Auto Trait Implementations§
impl Forget for WindowSelect
impl Freeze for WindowSelect
impl Move for WindowSelect
impl RefUnwindSafe for WindowSelect
impl Send for WindowSelectwhere
RawVecInner: Send,
impl Sync for WindowSelectwhere
RawVecInner: Sync,
impl Unpin for WindowSelect
impl UnsafeUnpin for WindowSelectwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for WindowSelectwhere
RawVecInner: UnwindSafe,
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.