toColumns method

  1. @override
Map<String, Expression<Object>> toColumns(
  1. bool nullToAbsent
)

/////////////////////////////////////////////////////////////////////////

Implementation

@override
Map<String, Expression<Object>> toColumns(bool nullToAbsent) {
  return MigrationsCompanion(
          id: id == null ? const Value.absent() : Value(id!),
          name: Value(name),
          start: start == null ? const Value.absent() : Value(start!),
          finish: finish == null ? const Value.absent() : Value(finish!),
          migrationState: Value(migrationState))
      .toColumns(nullToAbsent);
}