pub struct WindowSql {
pub raw_sql: String,
pub parameters: Vec<Value>,
}Expand description
Generated SQL for window function query
Fields§
§raw_sql: StringParameterized SQL template. WHERE clause values use dialect-specific
placeholders ($1, ?, @P1); column names are schema-derived and
allowlist-validated via crate::compiler::window_allowlist::WindowAllowlist
and are not user-controlled at runtime.
parameters: Vec<Value>Bind parameters in placeholder order, passed to
execute_parameterized_aggregate.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for WindowSql
impl RefUnwindSafe for WindowSql
impl Send for WindowSql
impl Sync for WindowSql
impl Unpin for WindowSql
impl UnsafeUnpin for WindowSql
impl UnwindSafe for WindowSql
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<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