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

#include "/cvmfs/nova.opensciencegrid.org/externals/cetlib/v3_06_01/source/cetlib/sqlite/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 123 of file select.h.

Constructor & Destructor Documentation

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

Definition at line 125 of file select.h.

125 : ddl_{std::move(ddl)} {}

Member Function Documentation

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

Definition at line 128 of file select.h.

129  {
130  ddl_ += " from ";
131  ddl_ += tablename;
132  return SelectStmt{std::move(ddl_), db};
133  }

Member Data Documentation

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

Definition at line 134 of file select.h.


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