We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2fab769 commit 7910d70Copy full SHA for 7910d70
components/nocodb/nocodb.app.mjs
@@ -122,19 +122,20 @@ export default {
122
let lastPage, count = 0;
123
args.params = {
124
...args.params,
125
- page: 1,
+ offset: 0,
126
+ limit: 1000
127
};
128
do {
129
const {
130
list, pageInfo,
131
} = await fn(args);
132
for (const item of list) {
133
+ args.params.offset++;
134
yield item;
135
if (max && ++count === max) {
136
return;
137
}
138
- args.params.page++;
139
lastPage = !pageInfo.isLastPage;
140
} while (lastPage);
141
},
0 commit comments