How to find in MongoDB by last 4 chars in ObjectID?

后端 未结 0 1299
日久生厌
日久生厌 2020-12-06 19:14

I don\'t want to expose the full object ID to the client, instead I want to show him only a short of the last 4 chars of the actual object ID of an entity in the collection.

相关标签:
回答
  • 消灭零回复
提交回复
热议问题