【发布时间】:2013-07-28 01:56:28
【问题描述】:
基本上问题很简单:
如何对以 _ 开头的集合发出查询?
例如,如果我有 2 个集合 test 和 _test,我在 mongoshell 中尝试 db.test.findOne() 和 db._test.findOne(),第一个按预期工作,而第二个告诉我 TypeError: db._testhas no properties (shell):1
【问题讨论】:
标签: mongodb mongo-shell