custom static method
Insertable<AlbumData>
custom({
- Expression<
int> ? id, - Expression<
String> ? code, - Expression<
String> ? name, - Expression<
String> ? nameInEnglish, - Expression<
int> ? seqNum, - Expression<
bool> ? published, - Expression<
bool> ? locked, - Expression<
String> ? imagePath, - Expression<
int> ? publishedSongCount, - Expression<
int> ? totalSongCount, - Expression<
String> ? description, - Expression<
String> ? note,
Implementation
static Insertable<AlbumData> custom({
Expression<int>? id,
Expression<String>? code,
Expression<String>? name,
Expression<String>? nameInEnglish,
Expression<int>? seqNum,
Expression<bool>? published,
Expression<bool>? locked,
Expression<String>? imagePath,
Expression<int>? publishedSongCount,
Expression<int>? totalSongCount,
Expression<String>? description,
Expression<String>? note,
}) {
return RawValuesInsertable({
if (id != null) 'id': id,
if (code != null) 'code': code,
if (name != null) 'name': name,
if (nameInEnglish != null) 'name_in_english': nameInEnglish,
if (seqNum != null) 'seq_num': seqNum,
if (published != null) 'published': published,
if (locked != null) 'locked': locked,
if (imagePath != null) 'image_path': imagePath,
if (publishedSongCount != null)
'published_song_count': publishedSongCount,
if (totalSongCount != null) 'total_song_count': totalSongCount,
if (description != null) 'description': description,
if (note != null) 'note': note,
});
}