@@ 1013-1017 (lines=5) @@ | ||
1010 | $hash[] = json_encode($this->expression->toArray()); |
|
1011 | ||
1012 | // sorts |
|
1013 | if (!empty($this->sort)) { |
|
1014 | $sort = $this->sort; |
|
1015 | ksort($sort); |
|
1016 | $hash[] = implode('', array_merge(array_keys($sort), array_values($sort))); |
|
1017 | } |
|
1018 | ||
1019 | // fields |
|
1020 | if (!empty($this->fields)) { |
|
@@ 1020-1024 (lines=5) @@ | ||
1017 | } |
|
1018 | ||
1019 | // fields |
|
1020 | if (!empty($this->fields)) { |
|
1021 | $fields = $this->fields; |
|
1022 | ksort($fields); |
|
1023 | $hash[] = implode('', array_merge(array_keys($fields), array_values($fields))); |
|
1024 | } |
|
1025 | ||
1026 | // skip and limit |
|
1027 | $hash[] = $this->skip; |