Hey! Does any of you know if there is a difference...
# room
p
Hey! Does any of you know if there is a difference performance-wise deleting rows from a table one-by-one from a for loop, or passing the whole list to Room to delete? Thanks!
not kotlin but kotlin colored 1
y
if you pass them all together, Room will delete them in a transaction which will be faster. but if you did call 1 by 1 in a transaction, it should be close to equal.
🙏 1