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

Prepared-statement helper for SELECTs that produces sqlite::result cursors. More...

#include <iterator>
#include <memory>
#include <stdexcept>
#include <string>
#include <string_view>
#include <unordered_map>
#include <vector>
#include <type_traits>
#include <sqlite/command.hpp>
#include <sqlite/result.hpp>
Include dependency graph for query.hpp:

Go to the source code of this file.

Classes

struct  sqlite::v2::query
 query should be used to execute SQL queries An object of this class is not copyable More...
class  sqlite::v2::query::result_range
struct  sqlite::v2::query::result_range::column_cache
class  sqlite::v2::query::result_range::row_view
class  sqlite::v2::query::result_range::iterator

Namespaces

namespace  sqlite
namespace  sqlite::v2

Detailed Description

Prepared-statement helper for SELECTs that produces sqlite::result cursors.

The sqlite::query class inherits sqlite::command so you can bind parameters with the same interface and then enumerate rows via each() (range-based for) or by manually consuming a sqlite::result from get_result().

Definition in file query.hpp.