@@ 941-945 (lines=5) @@ | ||
938 | $hash[] = json_encode($this->expression->toArray()); |
|
939 | ||
940 | // sorts |
|
941 | if($this->sort) { |
|
942 | $sort = $this->sort; |
|
943 | ksort($sort); |
|
944 | $hash[] = implode('', array_merge(array_keys($sort), array_values($sort))); |
|
945 | } |
|
946 | ||
947 | // fields |
|
948 | if($this->fields) { |
|
@@ 948-952 (lines=5) @@ | ||
945 | } |
|
946 | ||
947 | // fields |
|
948 | if($this->fields) { |
|
949 | $fields = $this->fields; |
|
950 | ksort($fields); |
|
951 | $hash[] = implode('', array_merge(array_keys($fields), array_values($fields))); |
|
952 | } |
|
953 | ||
954 | // skip and limit |
|
955 | $hash[] = $this->skip; |