SelectStmt constructor
SelectStmt({
- required List<
SelectItem> projection, - String? fromTable,
- SelectStmt? fromSubquery,
- String? fromAlias,
- List<
JoinClause> joins = const [], - Expr? where,
- List<
Expr> groupBy = const [], - Expr? having,
- List<
OrderByItem> orderBy = const [], - int? limit,
- int? offset,
- bool distinct = false,
- String? setOp,
- SelectStmt? setOpRight,
- Map<
String, SelectStmt> ctes = const {}, - Map<
String, List< cteColumns = const {},String> > - bool ctesRecursive = false,
- Map<
String, bool> cteMaterialized = const {}, - FunctionCallExpr? fromFunction,
- Map<
String, WindowSpec> namedWindows = const {}, - IndexHint? indexedBy,
- List<
List< ? groupingSets,Expr> >
Implementation
SelectStmt({
required this.projection,
this.fromTable,
this.fromSubquery,
this.fromAlias,
this.joins = const [],
this.where,
this.groupBy = const [],
this.having,
this.orderBy = const [],
this.limit,
this.offset,
this.distinct = false,
this.setOp,
this.setOpRight,
this.ctes = const {},
this.cteColumns = const {},
this.ctesRecursive = false,
this.cteMaterialized = const {},
this.fromFunction,
this.namedWindows = const {},
this.indexedBy,
this.groupingSets,
});