Tushar Pingaletusharpingale.hashnode.dev·Nov 21, 2023Leveraging fold operator in Kotlin flow to optimize Room DB upsertsHey everyone, today we will look into an interesting topic to optimize room DB upserts using fold in Kotlin flow. The case? We are working on a chat application where we fetch a list of chats in pages from the network and upsert it into DB as it is a...8 likes·326 readsKotlinAdd a thoughtful comment1 commentTop commentsSiddhesh Redkar·Nov 21, 2023Nov 21, 2023🙌🏻 Great job ·Reply