custom static method
Insertable<VersionRow>
custom({ - Expression<String>? userId,
- Expression<String>? favoriteChatsListVersion,
- Expression<bool>? favoriteChatsSynchronized,
- Expression<String>? chatContactsListVersion,
- Expression<bool>? favoriteContactsSynchronized,
- Expression<bool>? contactsSynchronized,
- Expression<bool>? blocklistSynchronized,
- Expression<String>? sessionsListVersion,
- Expression<String>? blocklistVersion,
- Expression<int>? blocklistCount,
- Expression<int>? rowid,
})
Implementation
static Insertable<VersionRow> custom({
Expression<String>? userId,
Expression<String>? favoriteChatsListVersion,
Expression<bool>? favoriteChatsSynchronized,
Expression<String>? chatContactsListVersion,
Expression<bool>? favoriteContactsSynchronized,
Expression<bool>? contactsSynchronized,
Expression<bool>? blocklistSynchronized,
Expression<String>? sessionsListVersion,
Expression<String>? blocklistVersion,
Expression<int>? blocklistCount,
Expression<int>? rowid,
}) {
return RawValuesInsertable({
if (userId != null) 'user_id': userId,
if (favoriteChatsListVersion != null)
'favorite_chats_list_version': favoriteChatsListVersion,
if (favoriteChatsSynchronized != null)
'favorite_chats_synchronized': favoriteChatsSynchronized,
if (chatContactsListVersion != null)
'chat_contacts_list_version': chatContactsListVersion,
if (favoriteContactsSynchronized != null)
'favorite_contacts_synchronized': favoriteContactsSynchronized,
if (contactsSynchronized != null)
'contacts_synchronized': contactsSynchronized,
if (blocklistSynchronized != null)
'blocklist_synchronized': blocklistSynchronized,
if (sessionsListVersion != null)
'sessions_list_version': sessionsListVersion,
if (blocklistVersion != null) 'blocklist_version': blocklistVersion,
if (blocklistCount != null) 'blocklist_count': blocklistCount,
if (rowid != null) 'rowid': rowid,
});
}