| @@ 923-927 (lines=5) @@ | ||
| 920 | $hash[] = json_encode($this->expression->toArray()); |
|
| 921 | ||
| 922 | // sorts |
|
| 923 | if($this->sort) { |
|
| 924 | $sort = $this->sort; |
|
| 925 | ksort($sort); |
|
| 926 | $hash[] = implode('', array_merge(array_keys($sort), array_values($sort))); |
|
| 927 | } |
|
| 928 | ||
| 929 | // fields |
|
| 930 | if($this->fields) { |
|
| @@ 930-934 (lines=5) @@ | ||
| 927 | } |
|
| 928 | ||
| 929 | // fields |
|
| 930 | if($this->fields) { |
|
| 931 | $fields = $this->fields; |
|
| 932 | ksort($fields); |
|
| 933 | $hash[] = implode('', array_merge(array_keys($fields), array_values($fields))); |
|
| 934 | } |
|
| 935 | ||
| 936 | // skip and limit |
|
| 937 | $hash[] = $this->skip; |
|