Uploaded image for project: 'PHP Driver: Extension'
  1. PHP Driver: Extension
  2. PHPC-403

Query discards or munges numeric _id value

    • Type: Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Priority: Icon: Critical - P2 Critical - P2
    • None
    • Affects Version/s: 1.0.0-alpha2
    • Component/s: None
    • None

      https://github.com/10gen-labs/mongo-php-library-prototype/issues/25

      He claims

      $collection->findOne(['_id' => $id])
      

      returns item without "_id" property, it is empty (null).

      This needs to be looked into, could be a bug in phongo?

            Assignee:
            jmikola@mongodb.com Jeremy Mikola
            Reporter:
            bjori Hannes Magnusson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: