28 SelectQuery() : _distinct(
false), _limit(0), _offset(0), _where(
"True") {}
29 SelectQuery & distinct(
bool d) ;
30 SelectQuery & limit(
int value);
31 SelectQuery & offset(
int value);
32 SelectQuery & result(std::string r);
33 SelectQuery & clearResults();
34 SelectQuery & source(std::string s, std::string alias=
"");
35 SelectQuery & where(
const Expr & w);
36 SelectQuery & where(std::string w);
37 SelectQuery & groupBy(std::string gb);
38 SelectQuery & having(
const Expr & h);
39 SelectQuery & having(std::string h);
40 SelectQuery & orderBy(std::string ob,
bool ascending=
true);
41 operator std::string()
const;
42 std::string asString()
const {
return this->
operator std::string(); }