• Jeremy Mikola's avatar
    PHPLIB-86: Fix aggregate() useCursor default and 2.4 compatibility · 0241edaf
    Jeremy Mikola authored
    This adds intelligent detection for the useCursor option's default value. Additionally, server 2.4 does not support any of the aggregate command options of newer servers, so we must not specify default values.
    
    The array_map() conversion for inline aggregation results is not ideal, but we can revisit that in PHPLIB-100.
    0241edaf
Name
Last commit
Last update
..
Exception Loading commit data...
Model Loading commit data...
Client.php Loading commit data...
Collection.php Loading commit data...
Database.php Loading commit data...
DeleteResult.php Loading commit data...
FeatureDetection.php Loading commit data...
InsertManyResult.php Loading commit data...
InsertOneResult.php Loading commit data...
UpdateResult.php Loading commit data...