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

Add global typemap configuration

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 1.0.0-beta2
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None

      Right now, the default typemap is to return a stdClass object for documents. You can only set a typemap for each specific query/iterations. We should add a driver specific connection option to allow for a typemap that is the default typemap to be applied for all deserialisations paths from BSON to PHP variables.

            Assignee:
            jmikola@mongodb.com Jeremy Mikola
            Reporter:
            derick Derick Rethans
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: