CoursesCompanion class

Inheritance

Constructors

CoursesCompanion({Value<int> id = const Value.absent(), Value<DateTime?> fetchedAt = const Value.absent(), Value<String> code = const Value.absent(), Value<double> credits = const Value.absent(), Value<int> hours = const Value.absent(), Value<String> nameZh = const Value.absent(), Value<String?> nameEn = const Value.absent(), Value<String?> descriptionZh = const Value.absent(), Value<String?> descriptionEn = const Value.absent()})
const
CoursesCompanion.insert({Value<int> id = const Value.absent(), Value<DateTime?> fetchedAt = const Value.absent(), required String code, required double credits, required int hours, required String nameZh, Value<String?> nameEn = const Value.absent(), Value<String?> descriptionZh = const Value.absent(), Value<String?> descriptionEn = const Value.absent()})

Properties

code → Value<String>
final
credits → Value<double>
final
descriptionEn → Value<String?>
final
descriptionZh → Value<String?>
final
fetchedAt → Value<DateTime?>
final
hashCode → int
The hash code for this object.
no setterinherited
hours → Value<int>
final
id → Value<int>
final
nameEn → Value<String?>
final
nameZh → Value<String>
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({Value<int>? id, Value<DateTime?>? fetchedAt, Value<String>? code, Value<double>? credits, Value<int>? hours, Value<String>? nameZh, Value<String?>? nameEn, Value<String?>? descriptionZh, Value<String?>? descriptionEn}) → CoursesCompanion
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<DateTime>? fetchedAt, Expression<String>? code, Expression<double>? credits, Expression<int>? hours, Expression<String>? nameZh, Expression<String>? nameEn, Expression<String>? descriptionZh, Expression<String>? descriptionEn}) → Insertable<Course>