SQL constructor

SQL(
  1. String sqlID,
  2. String table,
  3. SQLType type, {
  4. Map<String, dynamic>? parameters,
  5. SQLCondition? where,
  6. Map<String, String?>? returnColumns,
  7. bool returnLastID = false,
  8. String? orderBy,
  9. int? limit,
  10. Map<String, dynamic>? variables,
  11. List<Map<String, dynamic>>? results,
  12. Object? lastID,
})

Implementation

SQL(
  this.sqlID,
  this.table,
  this.type, {
  Map<String, dynamic>? parameters,
  this.where,
  Map<String, String?>? returnColumns,
  this.returnLastID = false,
  this.orderBy,
  this.limit,
  Map<String, dynamic>? variables,
  this.results,
  this.lastID,
})  : parameters = parameters ?? {},
      returnColumns = returnColumns ?? {},
      variables = variables ?? {};