custom static method
- Expression<
int> ? id, - Expression<
DateTime> ? fetchedAt, - Expression<
String> ? code, - Expression<
String> ? nameZh, - Expression<
String> ? nameEn,
Implementation
static Insertable<ClassesData> custom({
Expression<int>? id,
Expression<DateTime>? fetchedAt,
Expression<String>? code,
Expression<String>? nameZh,
Expression<String>? nameEn,
}) {
return RawValuesInsertable({
if (id != null) 'id': id,
if (fetchedAt != null) 'fetched_at': fetchedAt,
if (code != null) 'code': code,
if (nameZh != null) 'name_zh': nameZh,
if (nameEn != null) 'name_en': nameEn,
});
}