pub enum SqlStatementResult {
Count {
row_count: u32,
},
Projection {
columns: Vec<String>,
fixed_scales: Vec<Option<u32>>,
rows: Vec<Vec<Value>>,
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
Unified SQL statement payload returned by shared SQL lane execution.
Variants§
Count
Projection
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