SqlStatement constructor
const
SqlStatement({
- required SqlOperationType operationType,
- required String tableName,
- String? selectColumns,
- String? fromAlias,
- List<
String> ? insertColumns, - String? insertValuesPlaceholders,
- List<
Object?> ? insertArguments, - List<
String> ? updateSetClauses, - List<
Object?> ? updateArguments, - String? upsertConflictTarget,
- String? upsertUpdateSetClauses,
- List<
String> whereClauses = const [], - List<
Object?> whereArguments = const [], - String? orderBy,
- int? limit,
- int? offset,
Implementation
const SqlStatement({
required this.operationType,
required this.tableName,
this.selectColumns,
this.fromAlias,
this.insertColumns,
this.insertValuesPlaceholders,
this.insertArguments,
this.updateSetClauses,
this.updateArguments,
this.upsertConflictTarget,
this.upsertUpdateSetClauses,
this.whereClauses = const [],
this.whereArguments = const [],
this.orderBy,
this.limit,
this.offset,
});