SqlStatement constructor

const SqlStatement({
  1. required SqlOperationType operationType,
  2. required String tableName,
  3. String? selectColumns,
  4. String? fromAlias,
  5. List<String>? insertColumns,
  6. String? insertValuesPlaceholders,
  7. List<Object?>? insertArguments,
  8. List<String>? updateSetClauses,
  9. List<Object?>? updateArguments,
  10. String? upsertConflictTarget,
  11. String? upsertUpdateSetClauses,
  12. List<String> whereClauses = const [],
  13. List<Object?> whereArguments = const [],
  14. String? orderBy,
  15. int? limit,
  16. 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,
});