How tp keep the value like original value on mongoose?

前端 未结 0 1451
后悔当初
后悔当初 2021-02-04 10:09

I have a schema with a field use enum to list all the valid value can store in database, here is schema:

{
  name: { type: String },
  city: { type: String, enum:         


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