oldmanfleming
Deno KV: How to query for all records that have been updated since a given timestamp?
Thanks! That makes sense. I think secondary index makes more sense for my usecase but I just need to also think about how I will cleanup old versions so that the index doesn't maintain every version of a record, only latest. Not sure if this can be achieved atomically, similar to what you described with the "delete and set" in the primary key example. Will need to think more maybe
3 replies