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

Criteria#where using Javascript not working with embedded documents

    • Type: Icon: Task Task
    • Resolution: Done
    • 3.1.0
    • Affects Version/s: None
    • Component/s: None
    • Labels:

      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?

            Assignee:
            Unassigned Unassigned
            Reporter:
            suruja suruja
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: