pub struct CompileResult {
pub sql: String,
pub bindings: Vec<SqlValue>,
pub alias_remap: Vec<(String, String)>,
}Expand description
Result of SQL compilation, including alias remapping for HAVING support.
Fields§
§sql: String§bindings: Vec<SqlValue>§alias_remap: Vec<(String, String)>Alias → original column name. Used to remap ClickHouse JSON keys back to the column names that resolvers expect.
Auto Trait Implementations§
impl Freeze for CompileResult
impl RefUnwindSafe for CompileResult
impl Send for CompileResult
impl Sync for CompileResult
impl Unpin for CompileResult
impl UnsafeUnpin for CompileResult
impl UnwindSafe for CompileResult
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