| @@ 1034-1038 (lines=5) @@ | ||
| 1031 | $hash[] = json_encode($this->expression->toArray()); |
|
| 1032 | ||
| 1033 | // sorts |
|
| 1034 | if (!empty($this->sort)) { |
|
| 1035 | $sort = $this->sort; |
|
| 1036 | ksort($sort); |
|
| 1037 | $hash[] = implode('', array_merge(array_keys($sort), array_values($sort))); |
|
| 1038 | } |
|
| 1039 | ||
| 1040 | // fields |
|
| 1041 | if (!empty($this->fields)) { |
|
| @@ 1041-1045 (lines=5) @@ | ||
| 1038 | } |
|
| 1039 | ||
| 1040 | // fields |
|
| 1041 | if (!empty($this->fields)) { |
|
| 1042 | $fields = $this->fields; |
|
| 1043 | ksort($fields); |
|
| 1044 | $hash[] = implode('', array_merge(array_keys($fields), array_values($fields))); |
|
| 1045 | } |
|
| 1046 | ||
| 1047 | // skip and limit |
|
| 1048 | $hash[] = $this->skip; |
|