Add support for a default collation for views

XMLWordPrintableJSON

    • Fully Compatible
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Like collections, views should have a default collation. You can specify a default collation for a view at creation time; if no collation is specified, the view's default collation is the "simple" collator.

      The default collation of a view should not be overridden. This prevents a user from circumventing field-level redaction performed in the view pipeline that is implemented with string comparisons. The following operations should fail with an OptionNotSupportedOnView error:

      • Specifying a per-operation collation that differs from an operation involving a view, whether directly or via $lookup or $graphLookup
      • Performing any operation that involves multiple views (i.e. via $lookup or $graphLookup) where the views don't all have the same collation
      • Creating a view to depend on another view that does not have a matching collation
      • Modifying a view to depend on another view that does not have a matching collation

            Assignee:
            Kyle Suarez (Inactive)
            Reporter:
            Kyle Suarez (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: