bulk insert doesn't check bson documents

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • 1.1.0
    • Affects Version/s: 1.0.2
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      When using mongoc_collection_insert(), the document is checked using bson_validate()

      When using a bulk insert, bson_validate() is not used.

      So this document can be inserted with a bulk insert, but not with mongoc_collection_insert():
      {
      "user":

      { "$ref": "User", "$id": "5374d465c43a034f528b45ba", "$db": "db_name" }

      }

            Assignee:
            Anna Herlihy (Inactive)
            Reporter:
            Jerome Lebel
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: