We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
If i used volges Model.scan().loadAll() I get 47 results in dev, but if i try to use it with Model.scan().limit(3) I get zero. What could be wrong?
Model.scan().loadAll()
Model.scan().limit(3)
with loadAll()
Count:48 Items:Array[48] [Model, Model, Model …] LastEvaluatedKey:Object {id: "d95cac31-b4b3-405a-a057-8b42e6706788"} ScannedCount:48
with limit()
{ Items: [], Count: 0, ScannedCount: 48, LastEvaluatedKey: { id: '7c77d02c-c315-44c2-9bb6-98d7dae65aca' } }
The text was updated successfully, but these errors were encountered:
@jasmo2 see the difference
// scan all accounts, this time loading all results Account .scan() .loadAll() .exec(callback);
and
// Load 20 accounts Account .scan() .limit(20) .exec();
// Load All accounts, 20 at a time per request Account .scan() .limit(20) .loadAll() .exec()
Are you using extra filter queries? that can also limit your scan result to empty
Sorry, something went wrong.
No branches or pull requests
If i used volges
Model.scan().loadAll()
I get 47 results in dev, but if i try to use it withModel.scan().limit(3)
I get zero. What could be wrong?The text was updated successfully, but these errors were encountered: