Public Member Functions | Public Attributes | List of all members
cet::sqlite::IncompleteSelectStmt Struct Reference

#include <select.h>

Public Member Functions

 IncompleteSelectStmt (std::string &&ddl)
 
auto from (sqlite3 *const db, std::string const &tablename)&&
 

Public Attributes

std::string ddl_
 

Detailed Description

Definition at line 122 of file select.h.

Constructor & Destructor Documentation

cet::sqlite::IncompleteSelectStmt::IncompleteSelectStmt ( std::string &&  ddl)
inline

Definition at line 123 of file select.h.

123 : ddl_{std::move(ddl)} {}
def move(depos, offset)
Definition: depos.py:107

Member Function Documentation

auto cet::sqlite::IncompleteSelectStmt::from ( sqlite3 *const  db,
std::string const &  tablename 
)
inline

Definition at line 126 of file select.h.

127  {
128  ddl_ += " from ";
129  ddl_ += tablename;
130  return SelectStmt{std::move(ddl_), db};
131  }
def move(depos, offset)
Definition: depos.py:107

Member Data Documentation

std::string cet::sqlite::IncompleteSelectStmt::ddl_

Definition at line 132 of file select.h.


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