pub enum SessionFsSqliteQueryType {
Exec,
Query,
Run,
Unknown,
}Expand description
How to execute the query: ‘exec’ for DDL/multi-statement (no results), ‘query’ for SELECT (returns rows), ‘run’ for INSERT/UPDATE/DELETE (returns rowsAffected)
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Variants§
Exec
Execute DDL or multi-statement SQL without returning rows.
Query
Execute a SELECT-style query and return rows.
Run
Execute INSERT, UPDATE, or DELETE SQL and return affected-row metadata.
Unknown
Unknown variant for forward compatibility.
Trait Implementations§
Source§impl Clone for SessionFsSqliteQueryType
impl Clone for SessionFsSqliteQueryType
Source§fn clone(&self) -> SessionFsSqliteQueryType
fn clone(&self) -> SessionFsSqliteQueryType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SessionFsSqliteQueryType
impl Debug for SessionFsSqliteQueryType
Source§impl Default for SessionFsSqliteQueryType
impl Default for SessionFsSqliteQueryType
Source§fn default() -> SessionFsSqliteQueryType
fn default() -> SessionFsSqliteQueryType
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SessionFsSqliteQueryType
impl<'de> Deserialize<'de> for SessionFsSqliteQueryType
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for SessionFsSqliteQueryType
Source§impl PartialEq for SessionFsSqliteQueryType
impl PartialEq for SessionFsSqliteQueryType
Source§fn eq(&self, other: &SessionFsSqliteQueryType) -> bool
fn eq(&self, other: &SessionFsSqliteQueryType) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SessionFsSqliteQueryType
impl Serialize for SessionFsSqliteQueryType
impl StructuralPartialEq for SessionFsSqliteQueryType
Auto Trait Implementations§
impl Freeze for SessionFsSqliteQueryType
impl RefUnwindSafe for SessionFsSqliteQueryType
impl Send for SessionFsSqliteQueryType
impl Sync for SessionFsSqliteQueryType
impl Unpin for SessionFsSqliteQueryType
impl UnsafeUnpin for SessionFsSqliteQueryType
impl UnwindSafe for SessionFsSqliteQueryType
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