• 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
Collection.php 44.5 KB