Support MQL.Exists, MQL.IsMissing and MQL.IsNullOrMissing

XMLWordPrintableJSON

    • Type: New Feature
    • Resolution: Done
    • Priority: Unknown
    • 8.2.1
    • Affects Version/s: None
    • None
    • None
    • Dotnet Drivers
    • Needed
    • Hide

      We'll need some examples on how to use these new functions in EF queries.

      Show
      We'll need some examples on how to use these new functions in EF queries.
    • None
    • None
    • None
    • None
    • None
    • None

      Right now we have no way to query the presence of fields or not in queries written with EF.

      This just requires detecting them and opting them out of partial evaluation via an implementation of EvaluationExpressionFilter.

      Would also recommend overloads for these methods be added to the C# Driver to allow syntax like Customers.Where(c => Mql.IsMissing("Address")) etc. to support shadow properties. If aggreed, that will need a ticket on the driver and should be written independently to not rely on EF.

            Assignee:
            Damien Guard
            Reporter:
            Damien Guard
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: