ThinSQLite++
A thin, safe and convenient modern C++ wrapper for SQLite API.
Loading...
Searching...
No Matches
Mappings of SQLite API to ThinSQLite++

Table of Contents

This page contains mappings of SQLite objects and functions to ThinSQLite++ and serves as a status page of what is or isn't available in this library.

Legend

  • out of scope: Functionality that is not implemented and never will be. Common examples are UTF-16 APIs or VFS related API.
  • not implemented : Functionality that is currently not implemented but should be and might be added in a future version.

Types

Type Mapped To
sqlite3 database
sqlite3_api_routines out of scope
sqlite3_backup backup
sqlite3_blob blob
sqlite3_context context
sqlite3_file out of scope
sqlite3_index_info index_info
sqlite3_int64 std::int64_t
sqlite3_uint64 std::size_t
sqlite3_io_methods out of scope
sqlite3_mem_methods out of scope
sqlite3_module By itself out of scope. Functionality provided as part of vtab
sqlite3_mutex mutex
sqlite3_mutex_methods out of scope
sqlite3_pcache out of scope
sqlite3_pcache_methods2 out of scope
sqlite3_pcache_page out of scope
sqlite3_snapshot snapshot
sqlite3_stmt statement
sqlite3_str out of scope
sqlite3_value value
sqlite3_vfs out of scope
sqlite3_vtab vtab
sqlite3_vtab_cursor vtab::cursor

Functions

A-B

Function Mapped To
sqlite3_aggregate_context context::aggregate_context
sqlite3_auto_extension database::auto_extension
sqlite3_autovacuum_pages not implemented
sqlite3_backup_finish backup
sqlite3_backup_init backup::init
sqlite3_backup_pagecount backup::pagecount
sqlite3_backup_remaining backup::remaining
sqlite3_backup_step backup::step
sqlite3_bind_blob statement::bind, statement::bind_reference
sqlite3_bind_blob64 statement::bind, statement::bind_reference
sqlite3_bind_double statement::bind
sqlite3_bind_int statement::bind
sqlite3_bind_int64 statement::bind
sqlite3_bind_null statement::bind
sqlite3_bind_parameter_count statement::bind_parameter_count
sqlite3_bind_parameter_index statement::bind_parameter_index
sqlite3_bind_parameter_name statement::bind_parameter_name
sqlite3_bind_pointer statement::bind
sqlite3_bind_text statement::bind, statement::bind_reference
sqlite3_bind_text16 out of scope
sqlite3_bind_text64 statement::bind
sqlite3_bind_value statement::bind
sqlite3_bind_zeroblob statement::bind
sqlite3_bind_zeroblob64 statement::bind
sqlite3_blob_bytes blob::bytes
sqlite3_blob_close blob
sqlite3_blob_open database::open_blob
sqlite3_blob_read blob::read
sqlite3_blob_reopen blob::reopen
sqlite3_blob_write blob::write
sqlite3_busy_handler database::busy_handler
sqlite3_busy_timeout database::busy_timeout

C

Function Mapped To
sqlite3_cancel_auto_extension database::cancel_auto_extension
sqlite3_changes database::changes
sqlite3_changes64 database::changes
sqlite3_clear_bindings statement::clear_bindings
sqlite3_close out of scope
sqlite3_close_v2 database
sqlite3_collation_needed database::collation_needed
sqlite3_collation_needed16 out of scope
sqlite3_column_blob statement::column_value, cell::value
sqlite3_column_bytes statement::column_value, cell::value
sqlite3_column_bytes16 out of scope
sqlite3_column_count statement::column_count,
sqlite3_column_database_name statement::column_database_name, cell::database_name
sqlite3_column_database_name16 out of scope
sqlite3_column_decltype statement::column_declared_type, cell::declared_type
sqlite3_column_decltype16 out of scope
sqlite3_column_double statement::column_value, cell::value
sqlite3_column_int statement::column_value, cell::value
sqlite3_column_int64 statement::column_value, cell::value
sqlite3_column_name statement::column_name, cell::name
sqlite3_column_name16 out of scope
sqlite3_column_origin_name statement::column_origin_name, cell::origin_name
sqlite3_column_origin_name16 out of scope
sqlite3_column_table_name statement::column_table_name, cell::table_name
sqlite3_column_table_name16 out of scope
sqlite3_column_text statement::column_value, cell::value
sqlite3_column_text16 out of scope
sqlite3_column_type statement::column_type, cell::type
sqlite3_column_value statement::column_value, cell::value
sqlite3_commit_hook database::commit_hook
sqlite3_compileoption_get not implemented
sqlite3_compileoption_used not implemented
sqlite3_complete out of scope
sqlite3_complete16 out of scope
sqlite3_config database::config
sqlite3_context_db_handle context::database
sqlite3_create_collation database::create_collation
sqlite3_create_collation16 out of scope
sqlite3_create_collation_v2 database::create_collation
sqlite3_create_filename out of scope
sqlite3_create_function database::create_function
sqlite3_create_function16 out of scope
sqlite3_create_function_v2 database::create_function
sqlite3_create_module database::create_module, vtab::create_module
sqlite3_create_module_v2 database::create_module, vtab::create_module
sqlite3_create_window_function database::create_window_function

D-E

Function Mapped To
sqlite3_data_count statement::data_count
sqlite3_database_file_object out of scope
sqlite3_db_cacheflush database::cacheflush
sqlite3_db_config database::config
sqlite3_db_filename database::filename
sqlite3_db_handle statement::database
sqlite3_db_mutex database::mutex
sqlite3_db_name database::db_name
sqlite3_db_readonly database::readonly
sqlite3_db_release_memory database::release_memory
sqlite3_db_status database::status()
sqlite3_declare_vtab database::declare_vtab
sqlite3_deserialize database::deserialize
sqlite3_drop_modules database::drop_modules
sqlite3_enable_load_extension database::enable_load_extension
sqlite3_enable_shared_cache out of scope
sqlite3_errcode exception::primary_error_code, error::primary
sqlite3_errmsg exception::what, error::message
sqlite3_errmsg16 out of scope
sqlite3_error_offset not implemented
sqlite3_errstr exception::what, error::message
sqlite3_exec database::exec
sqlite3_expanded_sql statement::expanded_sql
sqlite3_extended_errcode exception::extended_error_code, error::extended
sqlite3_extended_result_codes database::extended_result_codes

F-L

Function Mapped To
sqlite3_file_control database::file_control
sqlite3_filename_database out of scope
sqlite3_filename_journal out of scope
sqlite3_filename_wal out of scope
sqlite3_finalize statement
sqlite3_free sqlite_deleter, sqlite_allocated, sqlite_allocator
sqlite3_free_filename out of scope
sqlite3_free_table out of scope
sqlite3_get_autocommit database::get_autocommit
sqlite3_get_auxdata context::get_auxdata
sqlite3_get_clientdata not implemented
sqlite3_get_table out of scope
sqlite3_hard_heap_limit64 not implemented
sqlite3_initialize initialize
sqlite3_interrupt database::interrupt
sqlite3_is_interrupted database::is_interrupted
sqlite3_keyword_check not implemented
sqlite3_keyword_count not implemented
sqlite3_keyword_name not implemented
sqlite3_last_insert_rowid database::last_insert_rowid
sqlite3_libversion sqlite_version::runtime_str
sqlite3_libversion_number sqlite_version::runtime
sqlite3_limit database::limit
sqlite3_load_extension database::load_extension
sqlite3_log not implemented

M-O

Function Mapped To
sqlite3_malloc sqlite_allocated, sqlite_allocator
sqlite3_malloc64 sqlite_allocated, sqlite_allocator
sqlite3_memory_highwater not implemented
sqlite3_memory_used not implemented
sqlite3_mprintf out of scope
sqlite3_msize out of scope
sqlite3_mutex_alloc mutex::alloc
sqlite3_mutex_enter mutex::lock
sqlite3_mutex_free mutex
sqlite3_mutex_held out of scope
sqlite3_mutex_leave mutex::unlock
sqlite3_mutex_notheld out of scope
sqlite3_mutex_try mutex::try_lock
sqlite3_next_stmt database::next_statement
sqlite3_normalized_sql out of scope
sqlite3_open database::open
sqlite3_open16 out of scope
sqlite3_open_v2 database::open
sqlite3_os_end out of scope
sqlite3_os_init out of scope
sqlite3_overload_function database::overload_function

P-R

Function Mapped To
sqlite3_prepare statement::create
sqlite3_prepare16 out of scope
sqlite3_prepare16_v2 out of scope
sqlite3_prepare16_v3 out of scope
sqlite3_prepare_v2 statement::create
sqlite3_prepare_v3 statement::create
sqlite3_preupdate_blobwrite database::preupdate_blobwrite
sqlite3_preupdate_count database::preupdate_count
sqlite3_preupdate_depth database::preupdate_depth
sqlite3_preupdate_hook database::preupdate_hook
sqlite3_preupdate_new database::preupdate_new
sqlite3_preupdate_old database::preupdate_old
sqlite3_progress_handler database::progress_handler
sqlite3_randomness not implemented
sqlite3_realloc out of scope
sqlite3_realloc64 out of scope
sqlite3_release_memory not implemented
sqlite3_reset statement::reset
sqlite3_reset_auto_extension database::reset_auto_extension
sqlite3_result_blob context::result, context::result_reference
sqlite3_result_blob64 context::result, context::result_reference
sqlite3_result_double context::result
sqlite3_result_error context::error
sqlite3_result_error16 out of scope
sqlite3_result_error_code context::error
sqlite3_result_error_nomem context::error_nomem
sqlite3_result_error_toobig context::error_toobig
sqlite3_result_int context::result
sqlite3_result_int64 context::result
sqlite3_result_null context::result
sqlite3_result_pointer context::result
sqlite3_result_subtype context::result_subtype
sqlite3_result_text context::result, context::result_reference
sqlite3_result_text16 out of scope
sqlite3_result_text16be out of scope
sqlite3_result_text16le out of scope
sqlite3_result_text64 context::result, context::result_reference
sqlite3_result_value context::result
sqlite3_result_zeroblob context::result
sqlite3_result_zeroblob64 context::result
sqlite3_rollback_hook database::rollback_hook

S

Function Mapped To
sqlite3_serialize database::serialize, database::serialize_reference
sqlite3_set_authorizer not implemented
sqlite3_set_auxdata context::set_auxdata
sqlite3_set_clientdata not implemented
sqlite3_set_last_insert_rowid database::set_last_insert_rowid
sqlite3_shutdown shutdown
sqlite3_sleep out of scope
sqlite3_snapshot_cmp snapshot::compare and comparison operators
sqlite3_snapshot_free snapshot
sqlite3_snapshot_get database::get_snapshot
sqlite3_snapshot_open database::open_snapshot
sqlite3_snapshot_recover database::recover_snapshot
sqlite3_snprintf out of scope
sqlite3_soft_heap_limit64 not implemented
sqlite3_sourceid sqlite_version::runtime_sourceid
sqlite3_sql statement::sql
sqlite3_status not implemented
sqlite3_status64 not implemented
sqlite3_step statement::step
sqlite3_stmt_busy statement::busy
sqlite3_stmt_explain not implemented
sqlite3_stmt_isexplain statement::isexplain
sqlite3_stmt_readonly statement::readonly
sqlite3_stmt_scanstatus not implemented
sqlite3_stmt_scanstatus_reset not implemented
sqlite3_stmt_scanstatus_v2 not implemented
sqlite3_stmt_status not implemented
sqlite3_str_append out of scope
sqlite3_str_appendall out of scope
sqlite3_str_appendchar out of scope
sqlite3_str_appendf out of scope
sqlite3_str_errcode out of scope
sqlite3_str_finish out of scope
sqlite3_str_length out of scope
sqlite3_str_new out of scope
sqlite3_str_reset out of scope
sqlite3_str_value out of scope
sqlite3_str_vappendf out of scope
sqlite3_strglob not implemented
sqlite3_stricmp out of scope
sqlite3_strlike not implemented
sqlite3_strnicmp out of scope
sqlite3_system_errno exception::system_error_code, error::system

T-W

Function Mapped To
sqlite3_table_column_metadata database::table_column_metadata
sqlite3_test_control out of scope
sqlite3_threadsafe not implemented
sqlite3_total_changes database::total_changes
sqlite3_total_changes64 database::total_changes
sqlite3_trace_v2 not implemented
sqlite3_txn_state database::txn_state
sqlite3_unlock_notify not implemented
sqlite3_update_hook database::update_hook
sqlite3_uri_boolean out of scope
sqlite3_uri_int64 out of scope
sqlite3_uri_key out of scope
sqlite3_uri_parameter out of scope
sqlite3_user_data context::user_data
sqlite3_value_blob value::get
sqlite3_value_bytes value::get
sqlite3_value_bytes16 out of scope
sqlite3_value_double value::get
sqlite3_value_dup value::dup
sqlite3_value_encoding out of scope
sqlite3_value_free value
sqlite3_value_frombind value::frombind
sqlite3_value_int value::get
sqlite3_value_int64 value::get
sqlite3_value_nochange value::nochange
sqlite3_value_numeric_type value::numeric_type
sqlite3_value_pointer value::get
sqlite3_value_subtype value::subtype
sqlite3_value_text value::get
sqlite3_value_text16 out of scope
sqlite3_value_text16be out of scope
sqlite3_value_text16le out of scope
sqlite3_value_type value::type
sqlite3_vfs_find out of scope
sqlite3_vfs_register out of scope
sqlite3_vfs_unregister out of scope
sqlite3_vmprintf out of scope
sqlite3_vsnprintf out of scope
sqlite3_vtab_collation index_info::collation
sqlite3_vtab_config database::vtab_config
sqlite3_vtab_distinct index_info::distinct
sqlite3_vtab_in index_info::is_in
sqlite3_vtab_in_first value::in_first
sqlite3_vtab_in_next value::in_next
sqlite3_vtab_nochange context::vtab_nochange
sqlite3_vtab_on_conflict database::vtab_on_conflict
sqlite3_vtab_rhs_value not implemented
sqlite3_wal_autocheckpoint database::autocheckpoint
sqlite3_wal_checkpoint database::checkpoint
sqlite3_wal_checkpoint_v2 database::checkpoint
sqlite3_wal_hook database::wal_hook
sqlite3_win32_set_directory out of scope
sqlite3_win32_set_directory16 out of scope
sqlite3_win32_set_directory8 out of scope