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