9#ifndef HEADER_SQLITEPP_VALUE_IFACE_INCLUDED 
   10#define HEADER_SQLITEPP_VALUE_IFACE_INCLUDED 
   14#include "exception_iface.hpp" 
   37#if SQLITE_VERSION_NUMBER >= SQLITEPP_SQLITE_VERSION(3, 18, 11) 
   72        static constexpr bool supported_column_type = 
 
   77        #if __cpp_char8_t >= 201811 
   99        SQLITEPP_ENABLE_IF(supported_column_type<T>,
 
  102    #if SQLITE_VERSION_NUMBER >= SQLITEPP_SQLITE_VERSION(3, 20, 0) 
  122        T) 
get(
const char * 
type = 
nullptr) const noexcept 
 
 
  138#if SQLITE_VERSION_NUMBER >= SQLITEPP_SQLITE_VERSION(3, 9, 0) 
  160#if SQLITE_VERSION_NUMBER >= SQLITEPP_SQLITE_VERSION(3, 22, 0) 
  172#if SQLITE_VERSION_NUMBER >= SQLITEPP_SQLITE_VERSION(3, 28, 0) 
  184#if SQLITE_VERSION_NUMBER >= SQLITEPP_SQLITE_VERSION(3, 38, 0) 
 
  235#if __cpp_char8_t >= 201811 
Exception used to report any SQLite errors.
Definition exception_iface.hpp:166
 
Base functionality for all fake wrapper classes
Definition handle.hpp:27
 
T * c_ptr() const noexcept
Access the real underlying SQLite type.
Definition handle.hpp:45
 
static value * from(sqlite3_value *obj) noexcept
Definition handle.hpp:41
 
Dynamically Typed Value Object.
Definition value_iface.hpp:35
 
bool nochange() const noexcept
Whether the column is unchanged in an UPDATE against a virtual table.
Definition value_iface.hpp:168
 
static std::unique_ptr< value > dup(const std::unique_ptr< value > &src)
This is an overloaded member function, provided for convenience. It differs from the above function o...
Definition value_iface.hpp:58
 
value * in_next() const
Get next element on the right-hand side of an IN constraint.
Definition value_iface.hpp:204
 
unsigned subtype() const noexcept
Subtype of the value.
Definition value_iface.hpp:146
 
T get(const char *type=nullptr) const noexcept
Obtain a pointer stored in the value.
Definition value_iface.hpp:122
 
T get() const noexcept
Obtain value's content.
 
~value() noexcept
Equivalent to sqlite3_value_free.
Definition value_iface.hpp:66
 
int numeric_type() const noexcept
Best numeric datatype of the value.
Definition value_iface.hpp:157
 
int type() const noexcept
Default datatype of the value.
Definition value_iface.hpp:135
 
value * in_first() const
Get first element on the right-hand side of an IN constraint.
Definition value_iface.hpp:190
 
bool frombind() const noexcept
Whether if value originated from a bound parameter
Definition value_iface.hpp:180
 
static std::unique_ptr< value > dup(const value *src)
Creates a new value by copying an original one.
Definition value_iface.hpp:49
 
span< const std::byte > blob_view
A blob_view is a span of bytes.
Definition span.hpp:239
 
ThinSQLite++ namespace.
Definition backup_iface.hpp:17