MigrationsCompanion class

Constructors

MigrationsCompanion({Value<int> id = const Value.absent(), Value<String> name = const Value.absent(), Value<MigrationState> migrationState = const Value.absent(), Value<DateTime?> start = const Value.absent(), Value<DateTime?> finish = const Value.absent()})
const
MigrationsCompanion.insert({Value<int> id = const Value.absent(), required String name, required MigrationState migrationState, Value<DateTime?> start = const Value.absent(), Value<DateTime?> finish = const Value.absent()})

Properties

finish → Value<DateTime?>
final
hashCode int
The hash code for this object.
no setterinherited
id → Value<int>
final
migrationState → Value<MigrationState>
final
name → Value<String>
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
start → Value<DateTime?>
final

Methods

copyWith({Value<int>? id, Value<String>? name, Value<MigrationState>? migrationState, Value<DateTime?>? start, Value<DateTime?>? finish}) MigrationsCompanion
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toColumns(bool nullToAbsent) Map<String, Expression<Object>>
Converts this object into a map of column names to expressions to insert or update.
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

custom({Expression<int>? id, Expression<String>? name, Expression<int>? migrationState, Expression<DateTime>? start, Expression<DateTime>? finish}) → Insertable<Migration>