golang mongo driver edit or create depending on boolean value

后端 未结 0 1573
-上瘾入骨i
-上瘾入骨i 2020-12-10 23:23

I have an objects in my collection that might contain a boolean variable called verified, or not.

if it does have this variable and it is false then I want to set it

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