pub struct Statement {
pub sql: String,
pub params: Vec<SqlValue>,
}Expand description
A single SQL statement. oxilite inlines all constants as SQL literals, so params is
almost always empty; this sidesteps D1’s 100-bound-parameter limit.
Fields§
§sql: String§params: Vec<SqlValue>Implementations§
Trait Implementations§
impl StructuralPartialEq for Statement
Auto Trait Implementations§
impl Freeze for Statement
impl RefUnwindSafe for Statement
impl Send for Statement
impl Sync for Statement
impl Unpin for Statement
impl UnsafeUnpin for Statement
impl UnwindSafe for Statement
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