custom static method
Implementation
static Insertable<Syllabus> custom({
Expression<int>? id,
Expression<int>? courseOffering,
Expression<int>? teacher,
Expression<DateTime>? updatedAt,
Expression<String>? objective,
Expression<String>? weeklyPlan,
Expression<String>? evaluation,
Expression<String>? textbooks,
Expression<String>? remarks,
}) {
return RawValuesInsertable({
if (id != null) 'id': id,
if (courseOffering != null) 'course_offering': courseOffering,
if (teacher != null) 'teacher': teacher,
if (updatedAt != null) 'updated_at': updatedAt,
if (objective != null) 'objective': objective,
if (weeklyPlan != null) 'weekly_plan': weeklyPlan,
if (evaluation != null) 'evaluation': evaluation,
if (textbooks != null) 'textbooks': textbooks,
if (remarks != null) 'remarks': remarks,
});
}