ScoresCompanion class
- Inheritance
-
- Object
- UpdateCompanion<
Score> - ScoresCompanion
Constructors
-
ScoresCompanion({Value<
int> id = const Value.absent(), Value<int> user = const Value.absent(), Value<int> semester = const Value.absent(), Value<int> course = const Value.absent(), Value<int?> courseOffering = const Value.absent(), Value<int?> score = const Value.absent(), Value<ScoreStatus?> status = const Value.absent()}) -
const
-
ScoresCompanion.insert({Value<
int> id = const Value.absent(), required int user, required int semester, required int course, Value<int?> courseOffering = const Value.absent(), Value<int?> score = const Value.absent(), Value<ScoreStatus?> status = const Value.absent()})
Properties
-
course
→ Value<
int> -
final
-
courseOffering
→ Value<
int?> -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
id
→ Value<
int> -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
score
→ Value<
int?> -
final
-
semester
→ Value<
int> -
final
-
status
→ Value<
ScoreStatus?> -
final
-
user
→ Value<
int> -
final
Methods
-
copyWith(
{Value< int> ? id, Value<int> ? user, Value<int> ? semester, Value<int> ? course, Value<int?> ? courseOffering, Value<int?> ? score, Value<ScoreStatus?> ? status}) → ScoresCompanion -
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<int> ? user, Expression<int> ? semester, Expression<int> ? course, Expression<int> ? courseOffering, Expression<int> ? score, Expression<String> ? status}) → Insertable<Score>