Is it possible to get a server created timestamp when pushing to an array field?

后端 未结 0 836
灰色年华
灰色年华 2020-12-31 02:07

This would be my guess, but it just yields a string value of "$$NOW":

db.collection(\'my collection\').updateOne(
 {...},
 {
  ...
  $push: {\'someA         


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