LiteSQL
Public Member Functions | List of all members
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 (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
 

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