pub enum SqlStatementResult {
Count {
row_count: u32,
},
Projection {
columns: Vec<String>,
fixed_scales: Vec<Option<u32>>,
rows: Vec<Vec<OutputValue>>,
row_count: u32,
},
ProjectionText {
columns: Vec<String>,
rows: Vec<Vec<String>>,
row_count: u32,
},
Grouped {
columns: Vec<String>,
fixed_scales: Vec<Option<u32>>,
rows: Vec<GroupedRow>,
row_count: u32,
next_cursor: Option<String>,
},
Explain(String),
Describe(EntitySchemaDescription),
ShowIndexes(Vec<String>),
ShowColumns(Vec<EntityFieldDescription>),
ShowEntities(Vec<String>),
}Expand description
SqlStatementResult
Unified SQL statement payload returned by shared SQL lane execution. Query, mutation, explain, and metadata statements all shape their response through this single session-owned enum.
Variants§
Count
Projection
Fields
§
rows: Vec<Vec<OutputValue>>ProjectionText
Grouped
Fields
§
rows: Vec<GroupedRow>Explain(String)
Describe(EntitySchemaDescription)
ShowIndexes(Vec<String>)
ShowColumns(Vec<EntityFieldDescription>)
ShowEntities(Vec<String>)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SqlStatementResult
impl RefUnwindSafe for SqlStatementResult
impl Send for SqlStatementResult
impl Sync for SqlStatementResult
impl Unpin for SqlStatementResult
impl UnsafeUnpin for SqlStatementResult
impl UnwindSafe for SqlStatementResult
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