A class representing the constant 'true'. More...
#include <select_exp.h>
Public Member Functions | |
true_boolexp () | |
std::ostream & | print (std::ostream &os, const Dv::Sql::Db &db) const |
Print this expression on a stream, using escapes for column values. |
A class representing the constant 'true'.
This class is useful as a starting point for more complex expressions.
SelectExp exp(new true_boolexp); for (size_t i=0; (i<size()); ++i) exp = exp && ( from_table->column(from(i)) == to_table->column(to(i)) );
Definition at line 527 of file select_exp.h.
Dv::Sql::true_boolexp::true_boolexp | ( | ) | [inline] |
Definition at line 529 of file select_exp.h.
std::ostream& Dv::Sql::true_boolexp::print | ( | std::ostream & | os, | |
const Dv::Sql::Db & | db | |||
) | const [inline, virtual] |
Print this expression on a stream, using escapes for column values.
os | stream to print to | |
db | whose associated escape function will be used |
Implements Dv::Sql::boolexp.
Definition at line 537 of file select_exp.h.
dvmysql-1.0.3 | [17 November, 2010] |