3 ms·
Don’t return indexes with user queries.
by jbluepolarbear 6y ago
Don’t return indexes with user queries.
- wongarsu 6y agoUsually you need some external unique identifier so you can interact with the object. Sure, that doesn't have to be the db index, but it is the convenient choice
- azinman2 6y agoExcept when you want to change databases, or grow beyond a single one, or shard what you have. If you do this you’re binding your future self.