TeachersCompanion class
Constructors
-
TeachersCompanion({Value<int> id = const Value.absent(), Value<DateTime?> fetchedAt = const Value.absent(), Value<String> code = const Value.absent(), Value<int> semester = const Value.absent(), Value<String> nameZh = const Value.absent(), Value<String?> nameEn = const Value.absent(), Value<String?> email = const Value.absent(), Value<int?> department = const Value.absent(), Value<String?> title = const Value.absent(), Value<double?> teachingHours = const Value.absent(), Value<String?> officeHoursNote = const Value.absent()})
-
const
-
TeachersCompanion.insert({Value<int> id = const Value.absent(), Value<DateTime?> fetchedAt = const Value.absent(), required String code, required int semester, required String nameZh, Value<String?> nameEn = const Value.absent(), Value<String?> email = const Value.absent(), Value<int?> department = const Value.absent(), Value<String?> title = const Value.absent(), Value<double?> teachingHours = const Value.absent(), Value<String?> officeHoursNote = const Value.absent()})
-
Methods
-
copyWith({Value<int>? id, Value<DateTime?>? fetchedAt, Value<String>? code, Value<int>? semester, Value<String>? nameZh, Value<String?>? nameEn, Value<String?>? email, Value<int?>? department, Value<String?>? title, Value<double?>? teachingHours, Value<String?>? officeHoursNote})
→ TeachersCompanion
-
-
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
Static Methods
-
custom({Expression<int>? id, Expression<DateTime>? fetchedAt, Expression<String>? code, Expression<int>? semester, Expression<String>? nameZh, Expression<String>? nameEn, Expression<String>? email, Expression<int>? department, Expression<String>? title, Expression<double>? teachingHours, Expression<String>? officeHoursNote})
→ Insertable<Teacher>
-