StudentsCompanion class

Inheritance

Constructors

StudentsCompanion({Value<int> id = const Value.absent(), Value<String> studentId = const Value.absent(), Value<String?> name = const Value.absent()})
const
StudentsCompanion.insert({Value<int> id = const Value.absent(), required String studentId, Value<String?> name = const Value.absent()})

Properties

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

Methods

copyWith({Value<int>? id, Value<String>? studentId, Value<String?>? name}) → StudentsCompanion
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.
override
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>? studentId, Expression<String>? name}) → Insertable<Student>