You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5Lines changed: 5 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -112,6 +112,11 @@ $model->chunk(10, function ($records) {
112
112
113
113
}
114
114
});
115
+
116
+
// limit
117
+
// Use this with caution unless your limit is small.
118
+
// DynamoDB has a limit of 1MB so if your limit is very big, the results will not be expected.
119
+
$model->where('name', 'foo')->take(3)->get();
115
120
```
116
121
117
122
* Or if you want to sync your DB table with a DynamoDb table, use trait `BaoPham\DynamoDb\ModelTrait`, it will call a `PutItem` after the model is saved.
0 commit comments