Support field projection based on string inside of field name

XMLWordPrintableJSON

    • Type: New Feature
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Aggregation Framework
    • None
    • Query Optimization
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      Suppose you have documents that look similar to this:

      { "PRE-field1" : "value",  "PRE-field2" : "value", "PRE-field3" : "value"}

      Fields in a document may start with "PRE-" and have any characters after that. During the projection stage, I want to be able to project all fields that contain the string "PRE-". Maybe the project statement looks something like this:

       "$fieldNameSearch" : /.*PRE-.*/i
      

            Assignee:
            [DO NOT USE] Backlog - Query Optimization
            Reporter:
            Aaron Kerti
            Votes:
            0 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated: