Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
MikeNotThePope
· 1y ago · 0 comments
You can sort records by ID, retrieve the last N records by ID, etc. It's just easier than using a timestamp.
Comments
[–]
Incipient
1y ago
The guaranteed lack of collision is a big one. I pretty much always add an updated column, and sqlalchemy essentially gives you both for free.