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

Mixing 'without' _id with 'only'

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

      MongoDB docs state: "Mixing Includes/Excludes. You cannot mix them, with the exception of the _id field."

      But '.only(:foo).without(:_id)' doesn't work.

            Assignee:
            Unassigned Unassigned
            Reporter:
            exoth Yuriy Trofimenko
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: