Permalink
Fetching contributors…
Cannot retrieve contributors at this time
228 lines (190 sloc) 6.57 KB
# SOME DESCRIPTIVE TITLE.
# Copyright (C) 2008-2016
# This file is distributed under the same license as the mongodb-manual
# package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2016.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: mongodb-manual 3.4\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-12-08 12:02-0500\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: Babel 2.3.4\n"
# a8e52b65b9774d869ebb610bcf1c231f
#: ../source/reference/bson-type-comparison-order.txt:6
msgid "Comparison/Sort Order"
msgstr ""
# 3d1385c55727464a8e89262b47cae7f2
#: ../source/reference/bson-type-comparison-order.txt
msgid "On this page"
msgstr ""
# 5ae779bab9954bf7a22b1c8fc0d990f1
#: ../source/includes/fact-sort-order.rst:1
msgid ""
"When comparing values of different :ref:`BSON types <bson-types>`, "
"MongoDB uses the following comparison order, from lowest to highest:"
msgstr ""
# a57bcf304c4a4cf7841fbf009368b5d0
#: ../source/includes/fact-sort-order.rst:4
msgid "MinKey (internal type)"
msgstr ""
# 55bac9e5c78d449f878770cf683f67fc
#: ../source/includes/fact-sort-order.rst:5
msgid "Null"
msgstr ""
# 824771964cd74143b29a4224c7cf0c79
#: ../source/includes/fact-sort-order.rst:6
msgid "Numbers (ints, longs, doubles, decimals)"
msgstr ""
# 41000753c92d4810ae70937a841b184a
#: ../source/includes/fact-sort-order.rst:7
msgid "Symbol, String"
msgstr ""
# 3ed55654d212446cbbfc4740094a401f
#: ../source/includes/fact-sort-order.rst:8
msgid "Object"
msgstr ""
# 729fecebf63b4ea7ac473d49049378a4
#: ../source/includes/fact-sort-order.rst:9
msgid "Array"
msgstr ""
# 92cfef6819bf46cd9ac3a0f7eedfa97f
# 66319fb77acd416a90db9e60d727e553
#: ../source/includes/fact-sort-order.rst:10
#: ../source/reference/bson-type-comparison-order.txt:73
msgid "BinData"
msgstr ""
# 18e6fcc8259648ccb645d89fd3b31824
#: ../source/includes/fact-sort-order.rst:11
msgid "ObjectId"
msgstr ""
# 3924338a3bd24e449b4bbd8273b10782
#: ../source/includes/fact-sort-order.rst:12
msgid "Boolean"
msgstr ""
# 7f69f33057344d03b1d30ea9d7dc93de
#: ../source/includes/fact-sort-order.rst:13
msgid "Date"
msgstr ""
# 3c00542efcc24dd190e1750d90129a54
#: ../source/includes/fact-sort-order.rst:14
msgid "Timestamp"
msgstr ""
# 48b15cb872c64b9087c8b642d3c7449a
#: ../source/includes/fact-sort-order.rst:15
msgid "Regular Expression"
msgstr ""
# 7691b32aa60e43fb86a73c072a5213c1
#: ../source/includes/fact-sort-order.rst:16
msgid "MaxKey (internal type)"
msgstr ""
# 4a5710c6235944e0aaf0676394af5538
#: ../source/reference/bson-type-comparison-order.txt:19
msgid "Numeric Types"
msgstr ""
# dc850f5512c6412692c3f16c6538fc95
#: ../source/reference/bson-type-comparison-order.txt:21
msgid ""
"MongoDB treats some types as equivalent for comparison purposes. For "
"instance, numeric types undergo conversion before comparison."
msgstr ""
# 915c829547ad447a8dc4741d245cbf5d
#: ../source/reference/bson-type-comparison-order.txt:25
msgid "Strings"
msgstr ""
# c7c388e413fe4c10aedc39080ceeabc7
#: ../source/reference/bson-type-comparison-order.txt:28
msgid "Binary Comparison"
msgstr ""
# 0b4633b171b5461793e994210b394a6b
#: ../source/reference/bson-type-comparison-order.txt:30
msgid "By default, MongoDB uses the simple binary comparison to compare strings."
msgstr ""
# efbe6e51029340f68fdd82b40f8e3fb1
#: ../source/reference/bson-type-comparison-order.txt:36
msgid "Collation"
msgstr ""
# 63097048543b4dfb8747a61a7191a070
#: ../source/includes/extracts/collation-description.rst:1
msgid ""
":doc:`Collation </reference/collation>` allows users to specify language-"
"specific rules for string comparison, such as rules for lettercase and "
"accent marks."
msgstr ""
# 0c72664fbdb743889af9551f76406b26
#: ../source/reference/bson-type-comparison-order.txt:41
msgid "Collation specification has the following syntax:"
msgstr ""
# ae8f35d849af4b11892595dfc91148d9
#: ../source/includes/extracts/collation-document.rst:14
msgid ""
"When specifying collation, the ``locale`` field is mandatory; all other "
"collation fields are optional. For descriptions of the fields, see :ref"
":`collation-document-fields`."
msgstr ""
# 1e9b200d776d45ec83ce655a33a2a6b9
#: ../source/includes/extracts/collation-unspecified.rst:1
msgid ""
"If no collation is specified for the collection or for the operations, "
"MongoDB uses the simple binary comparison used in prior versions for "
"string comparisons."
msgstr ""
# 666b373d4b2d478aa2c432d26f7cbd6f
#: ../source/reference/bson-type-comparison-order.txt:48
msgid "Arrays"
msgstr ""
# 68e53a31465c499d973bf976a1df1e4d
#: ../source/reference/bson-type-comparison-order.txt:50
msgid ""
"With arrays, a less-than comparison or an ascending sort compares the "
"smallest element of arrays, and a greater-than comparison or a descending"
" sort compares the largest element of the arrays. As such, when comparing"
" a field whose value is a single-element array (e.g. ``[ 1 ]``) with non-"
"array fields (e.g. ``2``), the comparison is between ``1`` and ``2``. A "
"comparison of an empty array (e.g. ``[ ]``) treats the empty array as "
"less than ``null`` or a missing field."
msgstr ""
# b53c2c89f81548388c81eb332b212165
#: ../source/reference/bson-type-comparison-order.txt:59
msgid "Dates and Timestaps"
msgstr ""
# 2d38315d4c194286880e623cbeaac6f2
#: ../source/reference/bson-type-comparison-order.txt:61
msgid ""
"Date objects sort before Timestamp objects. Previously Date and Timestamp"
" objects sorted together."
msgstr ""
# cd69e74c7310444c989a6c9d28099f39
#: ../source/reference/bson-type-comparison-order.txt:66
msgid "Non-existent Fields"
msgstr ""
# 62a61889222f4d49b3fee163c66315c6
#: ../source/reference/bson-type-comparison-order.txt:68
msgid ""
"The comparison treats a non-existent field as it would an empty BSON "
"Object. As such, a sort on the ``a`` field in documents ``{ }`` and ``{ "
"a: null }`` would treat the documents as equivalent in sort order."
msgstr ""
# 975be61e7874417895db7530e37c6386
#: ../source/reference/bson-type-comparison-order.txt:75
msgid "MongoDB sorts ``BinData`` in the following order:"
msgstr ""
# c1d2593302f34318b12fb5d33451b8fc
#: ../source/reference/bson-type-comparison-order.txt:77
msgid "First, the length or size of the data."
msgstr ""
# 9bc118d0f99b46f8af85884085aff92c
#: ../source/reference/bson-type-comparison-order.txt:79
msgid "Then, by the BSON one-byte subtype."
msgstr ""
# 3c9735a1e0e44fb8abbb9fd0de9686b4
#: ../source/reference/bson-type-comparison-order.txt:81
msgid "Finally, by the data, performing a byte-by-byte comparison."
msgstr ""