writeStartPart method

  1. @override
void writeStartPart(
  1. GenerationContext ctx
)
override

Subclasses must override this and write the part of the statement that comes before the where and limit expression..

Implementation

@override
void writeStartPart(GenerationContext ctx) {
  ctx.buffer
    ..write(_beginOfSelect(distinct))
    ..write(' * FROM ${table.tableWithAlias}');
  ctx.watchedTables.add(table);
}