boost_sqlite 1
A sqlite C++ library
Loading...
Searching...
No Matches
boost::sqlite::preupdate_context Struct Reference

#include <include/boost/sqlite/hooks.hpp>

Public Member Functions

int blob_write () const
 Query the status of blob access, e.g. when using blob_handle.
 
int count () const
 The count of colums to be updated.
 
int depth () const
 The nesting depth of the update.
 
system::result< valuenew_ (int column) const
 The new value to be written to column.
 
system::result< valueold (int column) const
 Returns the old value, i.e. the value before the update.
 

Detailed Description

The context for pre-update events

Note
This is only available if sqlite was compiled with SQLITE_ENABLE_PREUPDATE_HOOK enabled.

Definition at line 24 of file hooks.hpp.

Member Function Documentation

◆ blob_write()

int boost::sqlite::preupdate_context::blob_write ( ) const
inline

Query the status of blob access, e.g. when using blob_handle.

See also
https://www.sqlite.org/c3ref/preupdate_blobwrite.html

Definition at line 51 of file hooks.hpp.


The documentation for this struct was generated from the following file: