@@ 1051-1055 (lines=5) @@ | ||
1048 | $hash[] = json_encode($this->expression->toArray()); |
|
1049 | ||
1050 | // sorts |
|
1051 | if (!empty($this->sort)) { |
|
1052 | $sort = $this->sort; |
|
1053 | ksort($sort); |
|
1054 | $hash[] = implode('', array_merge(array_keys($sort), array_values($sort))); |
|
1055 | } |
|
1056 | ||
1057 | // fields |
|
1058 | if (!empty($this->fields)) { |
|
@@ 1058-1062 (lines=5) @@ | ||
1055 | } |
|
1056 | ||
1057 | // fields |
|
1058 | if (!empty($this->fields)) { |
|
1059 | $fields = $this->fields; |
|
1060 | ksort($fields); |
|
1061 | $hash[] = implode('', array_merge(array_keys($fields), array_values($fields))); |
|
1062 | } |
|
1063 | ||
1064 | // skip and limit |
|
1065 | $hash[] = $this->skip; |