LiteSQL 0.3.10
litesql::SelectQuery Class Reference

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 (std::string r)
SelectQuery & clearResults ()
SelectQuery & source (std::string s, std::string alias="")
SelectQuery & where (const Expr &w)
SelectQuery & where (std::string w)
SelectQuery & groupBy (std::string gb)
SelectQuery & having (const Expr &h)
SelectQuery & having (std::string h)
SelectQuery & orderBy (std::string ob, bool ascending=true)
 operator std::string () const
std::string asString () const

Detailed Description

a class that helps creating SELECT-SQL statements.

methods are self-explanatory.


The documentation for this class was generated from the following files:

SourceForge.net Logo