withIndex
profile: defineTable(profile).index("by_filter", ["gender", "age"])
const gender = "male" const minAge = 18 const profile = await ctx.db.query("profiles") .withIndex("by_filter", q => q.eq("gender", gender) q.lte("age", minAge) )
We're organizing a conference
james · 2w ago
@everyone Some big features from recent
ian · 4w ago
Convex for Enterprise (and updates to ev...
james · 2mo ago
Join the Discord to ask follow-up questions and connect with the community
Join the Convex Discord! Explore Convex, the backend platform that keeps your app in sync.
16,164 Members