Socrata - 使用 $select 进行分页

Socrata - Pagination with $select

我正在使用 $query= 进行高级查询,但是结果在 1000 处分页。Socrata 在与 $query= 一起使用时没有采用参数 $limit=

如何移动到下一组数据?

示例:

https://<url>.json?$offset=1000&$limit=1000&$query=select distinct id

{
  "error" : true,
  "message" : "If $query is used, all options - [$limit, $offset] should not be specified in $query."
}

您应该在 $query 中包含您的限制和偏移量,如下所示:

?$query=SELECT DISTINCT id LIMIT 1000 OFFSET 1000

这应该可以解决问题![​​=12=]