DepartmentsCompanion class
- Inheritance
-
- Object
- UpdateCompanion<
Department> - DepartmentsCompanion
Constructors
-
DepartmentsCompanion({Value<
int> id = const Value.absent(), Value<DateTime?> fetchedAt = const Value.absent(), Value<String> code = const Value.absent(), Value<String> nameZh = const Value.absent()}) -
const
-
DepartmentsCompanion.insert({Value<
int> id = const Value.absent(), Value<DateTime?> fetchedAt = const Value.absent(), required String code, required String nameZh})
Properties
Methods
-
copyWith(
{Value< int> ? id, Value<DateTime?> ? fetchedAt, Value<String> ? code, Value<String> ? nameZh}) → DepartmentsCompanion -
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<String> ? nameZh}) → Insertable<Department>