Add option to change the default typeMap

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Unknown
    • None
    • Affects Version/s: None
    • Component/s: Laravel
    • None
    • None
    • PHP Drivers
    • None
    • None
    • None
    • None
    • None
    • None

      Add a setting to change default typeMap in the query builder.

       

      In order to ease the migration from 4.8 to 5.0, it might be useful to add an option to the MongoDB connection for the default typeMap.

       

      In PHPORM-229, the typeMap change to return object for root documents.

              Assignee:
              Unassigned
              Reporter:
              Jérôme Tamarelle
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: