pub struct Updates<'a> { /* private fields */ }Available on crate feature
vtab only.Expand description
Wrapper to UpdateVTab::update arguments
Implementations§
Source§impl Updates<'_>
impl Updates<'_>
Sourcepub fn no_change(&self, idx: usize) -> bool
pub fn no_change(&self, idx: usize) -> bool
Returns true if and only
- if the column corresponding to
idxis unchanged by the UPDATE operation that theUpdateVTab::updatemethod call was invoked to implement - and if and the prior
VTabCursor::columnmethod call that was invoked to extract the value for that column returned without setting a result.
Sourcepub unsafe fn on_conflict(&self, db: *mut sqlite3) -> ConflictMode
pub unsafe fn on_conflict(&self, db: *mut sqlite3) -> ConflictMode
Determine the virtual table conflict policy
§Safety
This function is unsafe because it uses raw pointer
Methods from Deref<Target = Values<'a>>§
Trait Implementations§
Auto Trait Implementations§
impl<'a> !Send for Updates<'a>
impl<'a> !Sync for Updates<'a>
impl<'a> Freeze for Updates<'a>
impl<'a> RefUnwindSafe for Updates<'a>
impl<'a> Unpin for Updates<'a>
impl<'a> UnsafeUnpin for Updates<'a>
impl<'a> UnwindSafe for Updates<'a>
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