How do I insert a String into mongodb array?

前端 未结 0 518
醉梦人生
醉梦人生 2021-02-01 09:08

I am trying to insert a String \'username\' into a postSchema \'likes\' array. but I keep getting the error below. But when I insert the \'_id\' it works. But im trying to add t

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