"@convex-dev/aggregate": "^0.1.24"
const counts = await userAggContact.batchCount(ctx, { queries: [ { namespace: user_id }, { namespace: user_id, bounds: { prefix: ['active'] } }, ], })
Property 'batchCount' does not exist on type 'TableAggregate<{ Namespace: string; Key: [string, number, number, string]; DataModel: { organizations: { document: { _id: Id<"organizations">; _creationTime: number; color?: string | undefined; auth_id?: string | undefined; ... 20 more ...; allocated_seats: number; }; fieldPaths: ExtractFieldPaths<...> | "_id"; inde...'.
Hi @everyone! Not sure if you've heard
james · 7d ago
We're organizing a conference
james · 2mo ago
@everyone Some big features from recent
ian · 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