@@ -4,100 +4,116 @@ msgstr ""
4
4
"Project-Id-Version : mongodb-manual 3.2\n "
5
5
"Report-Msgid-Bugs-To : \n "
6
6
"POT-Creation-Date : 2016-05-31 19:15-0400\n "
7
- "PO-Revision-Date : YEAR-MO-DA HO:MI+ZONE\n "
8
- "Last-Translator : FULL NAME <EMAIL@ADDRESS>\n "
9
- "
Language-Team :
LANGUAGE <[email protected] >\n "
7
+ "PO-Revision-Date : 2016-07-29 15:15+0800\n "
10
8
"MIME-Version : 1.0\n "
11
9
"Content-Type : text/plain; charset=UTF-8\n "
12
10
"Content-Transfer-Encoding : 8bit\n "
11
+ "Last-Translator : \n "
12
+ "Language-Team : \n "
13
+ "Language : zh_CN\n "
14
+ "X-Generator : Poedit 1.8.8\n "
13
15
14
16
#: ../source/tutorial/query-for-null-fields.txt:5
15
17
msgid "Query for Null or Missing Fields"
16
- msgstr ""
18
+ msgstr "查询值为Null或不存在的字段 "
17
19
18
20
#: ../source/tutorial/query-for-null-fields.txt:0
19
21
msgid "On this page"
20
- msgstr ""
22
+ msgstr "本页内容 "
21
23
22
24
#: ../source/tutorial/query-for-null-fields.txt:15
23
25
msgid ""
24
26
"Different query operators in MongoDB treat ``null`` values differently."
25
- msgstr ""
27
+ msgstr "MongoDB中不同的运算符对待 ``null`` 值不一样. "
26
28
27
29
#: ../source/tutorial/query-for-null-fields.txt:17
28
30
msgid ""
29
31
"The examples on this page use the :method:`db.collection.find()` method in "
30
32
"the :program:`mongo` shell. To populate the ``users`` collection referenced "
31
33
"in the examples, run the following in :program:`mongo` shell:"
32
34
msgstr ""
35
+ "本页中的示例使用 :program:`mongo` shell的 :method:`db.collection.find()` 方"
36
+ "法.在:program:`mongo` shell中运行如下命令以向示例中涉及到的 ``users`` 集合填"
37
+ "入数据:"
33
38
34
39
#: ../source/tutorial/query-for-null-fields.txt:33
35
40
msgid "Equality Filter"
36
- msgstr ""
41
+ msgstr "相等过滤器 "
37
42
38
43
#: ../source/tutorial/query-for-null-fields.txt:35
39
44
msgid ""
40
45
"The ``{ name : null }`` query matches documents that either contain the "
41
- "``name`` field whose value is ``null`` *or* that do not contain the ``name`` "
42
- " field."
46
+ "``name`` field whose value is ``null`` *or* that do not contain the "
47
+ "``name`` field."
43
48
msgstr ""
49
+ " ``{ name : null }`` 查询匹配哪些包含值是 ``null``的 ``name`` 字段 *或者* 没"
50
+ "有包含 ``name`` 字段的文档."
44
51
45
52
#: ../source/tutorial/query-for-null-fields.txt:39
46
53
msgid "Given the following query:"
47
- msgstr ""
54
+ msgstr "给出如下查询: "
48
55
49
56
#: ../source/tutorial/query-for-null-fields.txt:45
50
57
msgid "The query returns both documents:"
51
- msgstr ""
58
+ msgstr "该查询返回这两个文档: "
52
59
53
60
#: ../source/tutorial/query-for-null-fields.txt:52
54
61
msgid ""
55
62
"If the query uses an index that is :ref:`sparse <index-type-sparse>`, "
56
63
"however, then the query will only match ``null`` values, not missing fields."
57
64
msgstr ""
65
+ "如果该查询使用了 :ref:`sparse <index-type-sparse>` 索引,不管怎样,那么该查询"
66
+ "将仅仅匹配 ``null`` 值,而不匹配不存在的字段."
58
67
59
68
#: ../source/tutorial/query-for-null-fields.txt:56
60
69
msgid ""
61
70
"If using the sparse index results in an incomplete result, MongoDB will not "
62
71
"use the index unless a :method:`~cursor.hint()` explicitly specifies the "
63
72
"index. See :ref:`index-type-sparse` for more information."
64
73
msgstr ""
74
+ "如果使用稀疏索引会导致一个不完整的结果,那么,除非 :method:`~cursor.hint()` 显"
75
+ "示地指定了该索引,否则MongoDB将不会使用这个索引.更多信息请参见 :ref:`index-"
76
+ "type-sparse`."
65
77
66
78
#: ../source/tutorial/query-for-null-fields.txt:62
67
79
msgid "Type Check"
68
- msgstr ""
80
+ msgstr "类型筛查 "
69
81
70
82
#: ../source/tutorial/query-for-null-fields.txt:64
71
83
msgid ""
72
84
"The ``{ name : { $type: 10 } }`` query matches documents that contains the "
73
85
"``name`` field whose value is ``null`` *only*; i.e. the value of the "
74
86
"``item`` field is of BSON Type ``Null`` (i.e. ``10``) :"
75
87
msgstr ""
88
+ "``{ name : { $type: 10 } }`` 查询 *仅仅* 匹配那些包含值是 ``null`` 的 "
89
+ "``name`` 字段的文档,亦即 ``条目`` 字段的值是BSON类型中的 ``Null`` (即 "
90
+ "``10`` ):"
76
91
77
92
#: ../source/tutorial/query-for-null-fields.txt:73
78
93
msgid ""
79
94
"The query returns only the document where the ``item`` field has a ``null`` "
80
95
"value:"
81
- msgstr ""
96
+ msgstr "该查询只返回文 ``条目`` 字段是 ``null`` 值的文档: "
82
97
83
98
#: ../source/tutorial/query-for-null-fields.txt:81
84
99
msgid "Existence Check"
85
- msgstr ""
100
+ msgstr "存在性筛查 "
86
101
87
102
#: ../source/tutorial/query-for-null-fields.txt:83
88
103
msgid ""
89
104
"The ``{ name : { $exists: false } }`` query matches documents that do not "
90
105
"contain the ``item`` field:"
91
106
msgstr ""
107
+ " ``{ name : { $exists: false } }`` 查询匹配不包含 ``条目`` 字段的文档:"
92
108
93
109
#: ../source/tutorial/query-for-null-fields.txt:90
94
110
msgid ""
95
111
"The query returns only the document that does *not* contain the ``item`` "
96
112
"field:"
97
- msgstr ""
113
+ msgstr "该查询只返回那些 *没有* 包含 ``条目`` 字段的文档: "
98
114
99
115
#: ../source/tutorial/query-for-null-fields.txt:97
100
116
msgid ""
101
117
"The reference documentation for the :query:`$type` and :query:`$exists` "
102
118
"operators."
103
- msgstr ""
119
+ msgstr " :query:`$type` 和 :query:`$exists` 操作符参考文档. "
0 commit comments