News for hackers. Stuff that matters.
Re:Show HN: Prefixed, dual-token, base58 encoded API Keys by jd_mongodb on Thursday May 12, 2022 @01:28AM (#31349614)
Of course if you don't like the id's that MongoDB generates by default you can always the supply your own. The only constraint on the _id field is that it be unique as we automatically apply a unique index. Effectively if you have a unique key for your data you should use _id for it as it saves you an index. (We always index _id).

(I work for MongoDB).

There are no comments on this comment yet.