Hacker News new | ask | show | jobs
by disdev 4317 days ago
Personally, I always use either an auto-incremented ID or a GUID. I don't like using a real value of the object as a key. Generally, I think it's good practice, but you're right... I'd index off of that.