VSQLite++ 0.3
Loading...
Searching...
No Matches
command.hpp File Reference

Parameter binding helpers and the sqlite::command base class for executing statements. More...

#include <concepts>
#include <cstddef>
#include <cstdint>
#include <span>
#include <string>
#include <string_view>
#include <type_traits>
#include <utility>
#include <vector>
#include <sqlite/connection.hpp>
#include <sqlite/detail/type_helpers.hpp>
Include dependency graph for command.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  sqlite::v2::named_parameter< T >
struct  sqlite::v2::null_type
 null_type is an empty type used to represent NULL values More...
struct  sqlite::v2::command
 command is the base class of all sql command classes An object of this class is not copyable More...

Namespaces

namespace  sqlite
namespace  sqlite::v2

Functions

template<typename T>
named_parameter< std::decay_t< T > > sqlite::v2::named (std::string_view name, T &&value)

Variables

null_type sqlite::v2::nil
 nil is used instead of NULL within the operator % syntax in this wrapper

Detailed Description

Parameter binding helpers and the sqlite::command base class for executing statements.

Commands own a prepared statement, expose strongly typed bind overloads, and provide the streaming-style % syntax that higher-level convenience APIs (e.g. query) are built upon.

Definition in file command.hpp.