|
VSQLite++ 0.3
|
Utilities for binding C++ callables as SQLite scalar, aggregate, or window functions. More...
#include <concepts>#include <cstddef>#include <exception>#include <format>#include <functional>#include <limits>#include <memory>#include <optional>#include <span>#include <string>#include <string_view>#include <tuple>#include <type_traits>#include <utility>#include <vector>#include <sqlite/database_exception.hpp>#include <sqlite/private/private_accessor.hpp>#include <sqlite3.h>
Go to the source code of this file.
Namespaces | |
| namespace | sqlite |
| namespace | sqlite::v2 |
| namespace | sqlite::v2::detail |
Functions | |
| void | sqlite::v2::detail::throw_null_argument_error () |
| void | sqlite::v2::detail::result_text (sqlite3_context *ctx, std::string_view view) |
| template<typename Callable, std::size_t... Index> | |
| decltype(auto) | sqlite::v2::detail::invoke_with_arguments (function_holder< Callable > &holder, sqlite3_value **argv, std::index_sequence< Index... >) |
| template<typename Callable> | |
| void | sqlite::v2::detail::destroy_holder (void *data) |
| template<typename Callable> | |
| void | sqlite::v2::detail::function_entry (sqlite3_context *ctx, int argc, sqlite3_value **argv) |
| int | sqlite::v2::detail::compose_text_rep (function_options const &options) |
| std::string | sqlite::v2::detail::make_function_error (std::string_view name) |
| template<typename Callable> | |
| void | sqlite::v2::create_function (connection &con, std::string_view name, Callable &&callable, function_options options={}) |
Utilities for binding C++ callables as SQLite scalar, aggregate, or window functions.
This header provides the heavy lifting to translate between sqlite3_value* arguments and strongly typed C++ invocables, handling optional/nullable parameters and propagating errors.
Definition in file function.hpp.