toSQL method

  1. @override
String toSQL()
override

Returns the SQL for the single condition without extra parentheses.

Example:

WhereOne(QField('age'), QO.GT, QVar(18)).toSQL(); // "( `age` > 18 )"

Implementation

@override
String toSQL() {
  return _whereBodies.first.toSQL();
}