mongodb查询条件忽略问题?-灵析社区

Fronttend

查询条件: {a:1,b:undefined}, {a:1,b:null}, mongodb查询,会忽略上述b字段吗?

阅读量:200

点赞量:0

问AI
爱打瞌睡的三角龙
不会忽略。 并且用undefined 会报错。