• Jeremy Mikola's avatar
    Ensure operations return documents as objects by default · 82de6ec1
    Jeremy Mikola authored
    Unless the operation returns a scalar or custom value (e.g. Count, CreateIndexes), we should explicitly convert documents to stdClass instances to return. This will ultimately be made configurable once PHPLIB-112 is implemented.
    
    A manual cast (of arrays to objects) was also necessary until PHPC-318 is implemented.
    82de6ec1
Name
Last commit
Last update
..
Exception Loading commit data...
Model Loading commit data...
Operation Loading commit data...
BulkWriteResult.php Loading commit data...
Client.php Loading commit data...
Collection.php Loading commit data...
Database.php Loading commit data...
DeleteResult.php Loading commit data...
InsertManyResult.php Loading commit data...
InsertOneResult.php Loading commit data...
UpdateResult.php Loading commit data...
functions.php Loading commit data...