boost_sqlite 1
A sqlite C++ library
Loading...
Searching...
No Matches
boost::sqlite::vtab::table< Cursor > Struct Template Referenceabstract

The basis for vtable. More...

#include <include/boost/sqlite/vtable.hpp>

Public Member Functions

virtual result< void > best_index (index_info &info)
 
sqlite::connection connection () const
 Get the connection of the vtable.
 
virtual const char * declaration ()=0
 The Table declaration to be used with sqlite3_declare_vtab.
 
virtual result< void > destroy ()
 Destroy the storage = this function needs to be present for non eponymous tables.
 
virtual result< cursor_type > open ()=0
 Start a search on the table. The cursor_type gets used & managed by value, OR a pointer to a class that inherits sqlite3_vtab_cursor.
 

Detailed Description

template<typename Cursor>
struct boost::sqlite::vtab::table< Cursor >

The basis for vtable.

Definition at line 382 of file vtable.hpp.

Member Function Documentation

◆ best_index()

template<typename Cursor >
virtual result< void > boost::sqlite::vtab::table< Cursor >::best_index ( index_info & info)
inlinevirtual

Tell sqlite how to communicate with the table. Optional, this library will fill in a default function that leaves comparisons to sqlite.

Definition at line 396 of file vtable.hpp.


The documentation for this struct was generated from the following file: