Defining MongoDB Collections

The following properties apply to a MongoDB Collection object.

Tab

Property

Description

Additional Information

General Physical Name Specifies physical name of the collection  
Capped Collection Specifies whether the collection is capped  
Capped Size Specifies the maximum size for a capped collection  
Capped Max Specifies the maximum number of documents for a capped collection  
Locale Specifies the ICU locale. Enter locale value as "simple" for simple binary comparison.  
Case Level Specifies whether the case comparison is included at strength level 1 or 2

 

Case First Specifies the sort order for tertiary level comparison

UPPER: Indicates that uppercase is sorted before lowercase

LOWER: Indicates that lowercase is sorted before uppercase

OFF: Indicates that the sorting is similar to Lower with small difference. For more information, refer to the MongoDB documentation.

Strength Specifies the strength of the comparison level

1: Indicates that the collation performs primary level comparison and only the base characters are considered for comparison

2: Indicates that the collation performs secondary level comparison and considers both base characters and diacritics for comparison

3: Indicates that the collation performs tertiary level comparison and considers base characters, diacritics, cases and variants for comparison

4: Indicates that the collation performs quaternary level comparison and considers punctuations for comparison

5: Indicates that the collation performs identical level comparison and uses it as a tie-breaker when all other levels are equal

Numeric Order Specifies whether the numeric strings are compared as numbers or strings  
Alternative Specifies whether the collation must consider whitespace and punctuation as base characters for comparison

Non-Ignorable: Indicates that the whitespace and punctuation are considered as base characters for comparison

Shifted: Indicates that the whitespace and punctuation are not considered as base characters for comparison

MaxVariable

Specifies up to which characters are not considered as base characters when Alternative is set to Shifted

PUNCT: Indicates that both whitespace and punctuation are not considered as base characters

SPACE: Indicates that whitespace is not considered as base characters

Backwards Specifies whether strings with diacritic are compared from back to front