Open inPhilly opened 6 years ago
I took a quick look at the CloudKit web services reference document and came up with this method, try adding it to Query.php
public function sort($fieldName, $ascending = true){ // todo relativeLocation
$this->sorters[] = ['fieldName' => $fieldName,
'ascending' => $ascending
];
return $this;
}
Great - I will give it a try. Thanks!
I see that a query can be filtered, but can it be sorted?