OData IQueryable Filters don't translate to MongoDB

XMLWordPrintableJSON

    • Type: New Feature
    • Resolution: Done
    • Priority: Major - P3
    • None
    • Affects Version/s: 2.0
    • Component/s: LINQ
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      ODataQueryOptions.Filter uses Odata filters. These do not translate through to MongoDB syntax. This prevents MongoDB from being the backing store for an OData endpoint without plenty of extra work.

      Ex: StartsWith is enabled through a regular Queryable/Where Expression has call syntax Syntax ".Call $e.Name.StartsWith(\"X\")". From the OData query, the RawFilter bceomes "startswith(Name,'MPMD')" The MongoDB Driver doesn't understand that format.

      More examples of queries which don't translate: http://www.odata.org/documentation/odata-version-2-0/uri-conventions/

            Assignee:
            Unassigned
            Reporter:
            Calvin Hopkins
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: