custom static method
Insertable<UserSemesterSummary>
custom({ - Expression<int>? id,
- Expression<int>? user,
- Expression<int>? semester,
- Expression<double>? average,
- Expression<double>? conduct,
- Expression<double>? totalCredits,
- Expression<double>? creditsPassed,
- Expression<String>? note,
- Expression<double>? grandTotalGpa,
- Expression<String>? className,
- Expression<String>? enrollmentStatus,
- Expression<bool>? registered,
- Expression<bool>? graduated,
})
Implementation
static Insertable<UserSemesterSummary> custom({
Expression<int>? id,
Expression<int>? user,
Expression<int>? semester,
Expression<double>? average,
Expression<double>? conduct,
Expression<double>? totalCredits,
Expression<double>? creditsPassed,
Expression<String>? note,
Expression<double>? grandTotalGpa,
Expression<String>? className,
Expression<String>? enrollmentStatus,
Expression<bool>? registered,
Expression<bool>? graduated,
}) {
return RawValuesInsertable({
if (id != null) 'id': id,
if (user != null) 'user': user,
if (semester != null) 'semester': semester,
if (average != null) 'average': average,
if (conduct != null) 'conduct': conduct,
if (totalCredits != null) 'total_credits': totalCredits,
if (creditsPassed != null) 'credits_passed': creditsPassed,
if (note != null) 'note': note,
if (grandTotalGpa != null) 'grand_total_gpa': grandTotalGpa,
if (className != null) 'class_name': className,
if (enrollmentStatus != null) 'enrollment_status': enrollmentStatus,
if (registered != null) 'registered': registered,
if (graduated != null) 'graduated': graduated,
});
}