Page Contents
This is a community translation into Chinese. For the latest information, see the English version.
skip过滤器忽略掉指定数目的记录结果。这个一般用于分页。
skip的别名是offset。
Warning:
Methods of models in the AngularJS client have a different signature than those of the Node API. For more information, see AngularJS SDK API.
REST API
?filter=[skip]=_n_
可以在REST query中使用stringified JSON format。
Node
{ skip: _n_ }
n是要忽略的记录数目。
例子
下面的例子忽略前20条记录,返回10条记录;简单的说就是返回第21条到第30条记录:
/cars?filter[limit]=10&filter[skip]=20