Uploaded image for project: 'Mongoid'
  1. Mongoid
  2. MONGOID-1900

Criteria#where using Javascript not working with embedded documents

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 3.1.0
    • Component/s: None
    • Labels:

      Description

      Hello!

      I think I found an issue when using Javascript in where query with embedded documents :
      https://gist.github.com/2338760

      Replacing the embedded relation by a referenced one solves this issue.

      Is this behaviour expected?

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: