PostgresCreate constructor

PostgresCreate(
  1. PostgresTableHandle table, {
  2. Map<String, Object?>? fields,
  3. String? outputAs,
  4. bool? returnMatchingRows,
})

Implementation

PostgresCreate(
  this.table, {
  Map<String, Object?>? fields,
  this.outputAs,
  bool? returnMatchingRows,
}) : fields = fields == null ? const {} : normalizeExpressionMap(fields),
     returnMatchingRows = returnMatchingRows ?? outputAs != null;