d-pac / restful-keystone

Automatic RESTful API enabler for KeystoneJS
MIT License
160 stars 50 forks source link

Support pagination #9

Open WofloW opened 9 years ago

WofloW commented 9 years ago

reuse the keystone code to support pagination in restful-keystone

WofloW commented 8 years ago

@htor I have fixed jshint and jscs errors. But I have no idea how to solve the test error. The first parameter of list methods is fx.model in test.

var query = fx.model.find(filter)
query.count() is not a function
query.find() is not a function

But in keystone those are existed.