* remove vite env for now
* remove unnecessary comment
This commit is contained in:
Philipinho
2024-04-25 22:36:03 +01:00
parent e9a037bc1e
commit f01b77dbd6
3 changed files with 8 additions and 7 deletions

View File

@ -23,7 +23,6 @@ export async function executeWithPagination<O, DB, TB extends keyof DB>(
if (opts.page < 1) {
opts.page = 1;
}
console.log('perpage', opts.perPage);
qb = qb.limit(opts.perPage + 1).offset((opts.page - 1) * opts.perPage);
const deferredJoinPrimaryKey = opts.experimental_deferredJoinPrimaryKey;