XMLWordPrintableJSON

    • Type: Task
    • Resolution: Won't Fix
    • Priority: Major - P3
    • 5.1.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Hi, It seems that in current version (master)
      when I'm passing array of items to Mongoid's create method (example: Car.create([{},...{}])
      it actually evaluates many inserts instead of bulk insert. I'm not sure it should work this way.
      I know I can use Model.collection.insert_many...but then I lose all the Mongoid layer.

              Assignee:
              Unassigned
              Reporter:
              Nikita Sherman
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: