Query discards or munges numeric _id value

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Cannot Reproduce
    • Priority: Critical - P2
    • None
    • Affects Version/s: 1.0.0-alpha2
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • 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:
              Jeremy Mikola
              Reporter:
              Hannes Magnusson (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: