I'm trying to get data from parse.com, but it does not allow more than 10000 data to be excluded So that it is alternatively using the
command
$ request = 'skip ='. $ Max '& Amp; Limit = 1000 '; $ Url = "https://api.parse.com/1/classes/_Installation" "?". $ Request; // $ ch = curl_init ($ url); Curl_setopt ($ ch, CURLOPT_URL, $ url); Curl_setopt ($ CH, CURLOPT_HTTPHEADER, $ headers); Curl_setopt ($ CH, CURLOPT_RETURNTRANSFER, true); $ Response = curl_exec ($ ch); $ Parse_data = json_decode ($ response, true);
I am trying to use this concept
but I do not know that according to the order curl
code.
As the saying goes:
< P> You can order by ordering a comma separated list by sorting on several fields, to retrieve documents which are ordered in descending order and in descending order by name:
Example for you:
$ request = 'skip =' $ Max '& amp; Border = 1000 & amp; Order = your_order_field ' By adding -
: $ request = 'skip =' you can select the order or you can descend. $ Max '& amp; Border = 1000 & amp; Order = your_order_field '; // ASC $ request = 'skip =' Max '& amp; Amp; Limit = 1000 & amp; Order = - your_order_field '; // DESC
No comments:
Post a Comment