pub struct GraphStatementGuard {
pub label: String,
pub statement: SqlStatement,
}Expand description
One caller-labelled predicate evaluated inside a graph writer transaction.
The statement must be one SELECT (including WITH followed by SELECT) returning exactly one row and one column. SQLite INTEGER 1 passes and INTEGER 0 refuses; other values and result shapes refuse with a typed reason. The caller owns the predicate and its tables. This is trusted in-process SQL, not a sandbox.
Fields§
§label: String§statement: SqlStatementTrait Implementations§
Source§impl Clone for GraphStatementGuard
impl Clone for GraphStatementGuard
Auto Trait Implementations§
impl Freeze for GraphStatementGuard
impl RefUnwindSafe for GraphStatementGuard
impl Send for GraphStatementGuard
impl Sync for GraphStatementGuard
impl Unpin for GraphStatementGuard
impl UnsafeUnpin for GraphStatementGuard
impl UnwindSafe for GraphStatementGuard
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