@@ 1092-1096 (lines=5) @@ | ||
1089 | $hash[] = json_encode($this->expression->toArray()); |
|
1090 | ||
1091 | // sorts |
|
1092 | if (!empty($this->sort)) { |
|
1093 | $sort = $this->sort; |
|
1094 | ksort($sort); |
|
1095 | $hash[] = implode('', array_merge(array_keys($sort), array_values($sort))); |
|
1096 | } |
|
1097 | ||
1098 | // fields |
|
1099 | if (!empty($this->projection)) { |
|
@@ 1099-1103 (lines=5) @@ | ||
1096 | } |
|
1097 | ||
1098 | // fields |
|
1099 | if (!empty($this->projection)) { |
|
1100 | $fields = $this->projection; |
|
1101 | ksort($fields); |
|
1102 | $hash[] = implode('', array_merge(array_keys($fields), array_values($fields))); |
|
1103 | } |
|
1104 | ||
1105 | // skip and limit |
|
1106 | $hash[] = $this->skip; |