how to connect to our schema by using database

前端 未结 0 1341
情书的邮戳
情书的邮戳 2021-01-30 00:39

I am using mongoose, and I find two ways to use schema (in my case, I have "Comment" as schema and "db" to connect to the base: the first one works correctly

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