[#34,query][s]: rename offset to from on query object.

* More natural in fact and we may as well go whole hog with ES structure.
This commit is contained in:
Rufus Pollock
2012-02-27 20:54:02 +00:00
parent b4c729b7bb
commit bd6123403e
5 changed files with 12 additions and 12 deletions

View File

@@ -44,7 +44,7 @@ test('Memory Backend: query', function () {
var dataset = makeBackendDataset();
var queryObj = {
size: 4
, offset: 2
, from: 2
};
dataset.query(queryObj).then(function(documentList) {
deepEqual(data.documents[2], documentList.models[0].toJSON());