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 33236a0 commit 84dfe26Copy full SHA for 84dfe26
src/storage/database/knex.ts
@@ -308,6 +308,10 @@ export class StorageKnexDB implements Database {
308
query.where('name', 'like', `${options.prefix}%`)
309
}
310
311
+ if (options?.startAfter && !options?.nextToken) {
312
+ query.andWhere(knex.raw(`name COLLATE "C" > ?`, [options.startAfter]))
313
+ }
314
+
315
if (options?.nextToken) {
316
const pageOperator = sortOrder === 'asc' ? '>' : '<'
317
if (sortColumn && options.sortBy?.after) {
0 commit comments