Setting Column Across Multiple Rows

Has anybody yet found a way (within Glide) to set a column value across multiple rows? For example to implement a “set all messages read” function or “archive all items” function. In both case we need to iterate through rows and set the same column in each to a specific value, perhaps a boolean or an integer.

You saw that thing that Jeff did, yeah?

1 Like

Thanks @Darren_Murphy will take a look at that

Ah yes. All good. So in my scenario I can just store when the user last tapped on “Mark all read” and compare it to the message timestamp. I also add in some logic with a user-specific “read” boolean for when they read a single message. So simple. Cheers @Darren_Murphy and @Jeff_Hager.

1 Like