@@ 57-59 (lines=3) @@ | ||
54 | 'query' => $query->getFilters(), |
|
55 | ]; |
|
56 | ||
57 | foreach (['limit', 'hint', 'skip'] as $supportedOption) { |
|
58 | $args += (isset($query->getOptions()[$supportedOption]) ? [$supportedOption => $query->getOptions()[$supportedOption]] : []); |
|
59 | } |
|
60 | } |
|
61 | ||
62 | return $args; |
|
@@ 97-99 (lines=3) @@ | ||
94 | 'filter' => $query->getFilters(), |
|
95 | ]; |
|
96 | ||
97 | foreach (['sort', 'projection', 'hint', 'skip', 'limit'] as $supportedOption) { |
|
98 | $args += (isset($query->getOptions()[$supportedOption]) ? [$supportedOption => $query->getOptions()[$supportedOption]] : []); |
|
99 | } |
|
100 | } |
|
101 | ||
102 | return $args; |