TeachersCompanion class
- Inheritance
-
- Object
- UpdateCompanion<
Teacher> - TeachersCompanion
Constructors
-
TeachersCompanion({Value<
int> id = const Value.absent(), Value<String> code = const Value.absent(), Value<String> nameZh = const Value.absent(), Value<String?> nameEn = const Value.absent()}) -
const
-
TeachersCompanion.insert({Value<
int> id = const Value.absent(), required String code, required String nameZh, Value<String?> nameEn = const Value.absent()})
Properties
Methods
-
copyWith(
{Value< int> ? id, Value<String> ? code, Value<String> ? nameZh, Value<String?> ? nameEn}) → 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
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
custom(
{Expression< int> ? id, Expression<String> ? code, Expression<String> ? nameZh, Expression<String> ? nameEn}) → Insertable<Teacher>