22 Sort(
const std::string& column) :
23 m_column(column), m_reverse(
false) {};
24 Sort(
const std::string& column,
bool reverse) :
25 m_column(column), m_reverse(reverse) {};
29 std::ostringstream json;
31 json <<
"{ \"column\" : \"" << m_column <<
"\", ";
32 json <<
"\"direction\" : \"" << (m_reverse ?
"desc" :
"asc") <<
"\" }";
36 const std::string m_column;
Sort clause in a selection of records.
Definition: sort.h:20