http://sailsjs.org/#/documentation/concepts/ORM/Querylanguage.html
Model.find().paginate({page: 2, limit: 10});Model.find({ where: { name: 'foo' }, limit: 10, skip: 10 });如果您希望分页异步工作,则使用JQUERY
$$.getJSON和在服务器上非常容易
res.json();
在水线和航行文档中有很多信息。

http://sailsjs.org/#/documentation/concepts/ORM/Querylanguage.html
Model.find().paginate({page: 2, limit: 10});Model.find({ where: { name: 'foo' }, limit: 10, skip: 10 });如果您希望分页异步工作,则使用JQUERY
$$.getJSON和在服务器上非常容易
res.json();
在水线和航行文档中有很多信息。