-
Type: Bug
-
Resolution: Duplicate
-
Priority: Minor - P4
-
None
-
Affects Version/s: 1.0.2
-
Component/s: None
-
None
-
Environment:Windows
Dear mongoDB
Just a heads up, when setting this in client, I expect arrays on all returns.
new MongoDB\Client( 'mongodb://server:port', [], ['typeMap' => ['root' => 'array', 'document' => 'array', 'array' => 'array']] );
Calling this method findOneAndUpdate It returns an object?
Best regards
Jesper Bendtsen
Denmark
- is duplicated by
-
PHPLIB-112 Configurable type map for findAndModify and non-cursor aggregate commands
- Closed