custom static method
Insertable<CourseOffering>
custom({ - Expression<int>? id,
- Expression<DateTime>? fetchedAt,
- Expression<int>? course,
- Expression<int>? semester,
- Expression<String>? number,
- Expression<int>? phase,
- Expression<String>? courseType,
- Expression<String>? status,
- Expression<String>? language,
- Expression<int>? enrolled,
- Expression<int>? withdrawn,
- Expression<String>? syllabusId,
- Expression<DateTime>? syllabusUpdatedAt,
- Expression<String>? objective,
- Expression<String>? weeklyPlan,
- Expression<String>? evaluation,
- Expression<String>? textbooks,
})
Implementation
static Insertable<CourseOffering> custom({
Expression<int>? id,
Expression<DateTime>? fetchedAt,
Expression<int>? course,
Expression<int>? semester,
Expression<String>? number,
Expression<int>? phase,
Expression<String>? courseType,
Expression<String>? status,
Expression<String>? language,
Expression<String>? remarks,
Expression<int>? enrolled,
Expression<int>? withdrawn,
Expression<String>? syllabusId,
Expression<DateTime>? syllabusUpdatedAt,
Expression<String>? objective,
Expression<String>? weeklyPlan,
Expression<String>? evaluation,
Expression<String>? textbooks,
}) {
return RawValuesInsertable({
if (id != null) 'id': id,
if (fetchedAt != null) 'fetched_at': fetchedAt,
if (course != null) 'course': course,
if (semester != null) 'semester': semester,
if (number != null) 'number': number,
if (phase != null) 'phase': phase,
if (courseType != null) 'course_type': courseType,
if (status != null) 'status': status,
if (language != null) 'language': language,
if (remarks != null) 'remarks': remarks,
if (enrolled != null) 'enrolled': enrolled,
if (withdrawn != null) 'withdrawn': withdrawn,
if (syllabusId != null) 'syllabus_id': syllabusId,
if (syllabusUpdatedAt != null) 'syllabus_updated_at': syllabusUpdatedAt,
if (objective != null) 'objective': objective,
if (weeklyPlan != null) 'weekly_plan': weeklyPlan,
if (evaluation != null) 'evaluation': evaluation,
if (textbooks != null) 'textbooks': textbooks,
});
}