Uploaded image for project: 'PHP Driver: Library'
  1. PHP Driver: Library
  2. PHPLIB-208

Remind users about BSON comparison behavior

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 1.1.2
    • Affects Version/s: None
    • Component/s: Docs
    • None

      The CRUD tutorial does not contain examples for querying by ID, as we use strings and integers for conciseness. We should remind users about how MongoDB compares BSON types. In particular, remind users that querying by an ObjectID requires the MongoDB\BSON\ObjectID class to be used instead of a hexadecimal string value.

            Assignee:
            jmikola@mongodb.com Jeremy Mikola
            Reporter:
            jmikola@mongodb.com Jeremy Mikola
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: