Using an opaque ID type in place of primitive.ObjectID

后端 未结 0 701
旧时难觅i
旧时难觅i 2021-02-09 12:12

In a db package, I don\'t want to expose MongoDB\'s primitive.ObjectID type as part of its public API. Instead, I want to define type Id interfac

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