ThinSQLite++
A thin, safe and convenient modern C++ wrapper for the SQLite API.
Loading...
Searching...
No Matches
keywords Class Reference

STL interface to SQLite keywords. More...

Public Types

using value_type = std::string_view
using size_type = int
using difference_type = int
using reference = value_type
using pointer = void
using iterator = const_iterator
using const_reverse_iterator = std::reverse_iterator<const_iterator>
using reverse_iterator = std::reverse_iterator<iterator>

Public Member Functions

int size () const noexcept
bool empty () const noexcept
std::string_view operator[] (int idx) const noexcept
const_iterator begin () const noexcept
const_iterator cbegin () const noexcept
const_iterator end () const noexcept
const_iterator cend () const noexcept
const_reverse_iterator rbegin () const noexcept
const_reverse_iterator crbegin () const noexcept
const_reverse_iterator rend () const noexcept
const_reverse_iterator crend () const noexcept

Static Public Member Functions

static bool check (std::string_view text)
 Checks to see whether or not the text argument is a keyword.

Detailed Description

STL interface to SQLite keywords.

Wraps manual calls to sqlite3_keyword_count, sqlite3_keyword_name and sqlite3_keyword_check in a convenient STL range interface.

#include <thinsqlitepp/global.hpp>

Member Function Documentation

◆ check()

bool check ( std::string_view text)
inlinestatic

Checks to see whether or not the text argument is a keyword.

Equivalent to sqlite3_keyword_check