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 3c9c0af commit 0dd553cCopy full SHA for 0dd553c
convex/users.ts
@@ -65,7 +65,7 @@ export const listUsers = query({
65
// Prefix range over email using index
66
return await ctx.db
67
.query('users')
68
- .withIndex('by_email', (q) => q.gte('email', start))
+ // .withIndex('by_email', (q) => q.gte('email', start))
69
.filter((q) => q.lt(q.field('email'), end))
70
.paginate({
71
numItems: limit,
@@ -97,7 +97,7 @@ export const countUsers = query({
97
const filtered = (
98
await ctx.db
99
100
101
102
.collect()
103
).length
0 commit comments