LiteSQL
|
a class that helps creating SELECT-SQL statements. More...
#include <selectquery.hpp>
Public Member Functions | |
SelectQuery & | distinct (bool d) |
SelectQuery & | limit (int value) |
SelectQuery & | offset (int value) |
SelectQuery & | result (const std::string &r) |
SelectQuery & | clearResults () |
SelectQuery & | source (const std::string &s, const std::string &alias="") |
SelectQuery & | where (const Expr &w) |
SelectQuery & | where (const std::string &w) |
SelectQuery & | groupBy (const std::string &gb) |
SelectQuery & | having (const Expr &h) |
SelectQuery & | having (const std::string &h) |
SelectQuery & | orderBy (const std::string &ob, bool ascending=true) |
operator std::string () const | |
std::string | asString () const |
a class that helps creating SELECT-SQL statements.
methods are self-explanatory.