void toSQL(const Function &f, std::string &buff, SQLVisitor &v) const
It encodes the function to a SQL notation.
A class that models a Function expression.
A query encoder for binary operations.
std::string m_name
The alias to the function.
A visitor for building an SQL statement from a given Query hierarchy.
A class that models a Function expression.
virtual ReturnType accept(VisitorType &guest) const =0
It call the visit method from the guest object.
A visitor for building an SQL statement from a given Query hierarchy.
std::size_t getNumArgs() const
It returns the number of arguments informed to the function.