▸case-21 A developer on our team added `export const seedDatabase = mutation(...)` to `convex/db.ts` so they could seed tables from a script. What security issue does this cause and how should it be refactored? | pass→pass | 12,951 | 8,003 | -38% | 1 | 1 | 0% | 1,842 | 1,289 | -30% | 0 | 0 | — |
▸case-10 We have a 50MB JSON array of legacy customer records that we want to move into Convex. I am thinking of writing a client-side JavaScript loop that calls a Convex mutation 10,000 times. What is the recommended way to load this dataset? | fail→fail | 15,394 | 11,855 | -23% | 1 | 1 | 0% | 2,580 | 2,083 | -19% | 0 | 0 | — |
▸case-20 What is the recommended approach in Convex when seeding small hardcoded developer fixtures (like 5 test users) versus importing a 100,000-row historical transactions dataset? | pass→pass | 18,614 | 10,654 | -43% | 1 | 1 | 0% | 2,675 | 2,108 | -21% | 0 | 0 | — |
▸case-01 I need a function or script to populate my Convex database with sample user profiles and posts for local testing. Could you help me create a initialization setup that I can execute repeatedly without generating duplicate entries? | fail→pass | 15,171 | 15,377 | +1% | 1 | 1 | 0% | 3,266 | 2,320 | -29% | 0 | 0 | — |
▸case-02 I have a large JSON file containing our initial product catalog that needs to be loaded into our Convex database tables. How should I prepare and ingest this batch dataset while ensuring it respects our data structures? | fail→pass | 20,983 | 14,749 | -30% | 1 | 1 | 0% | 3,107 | 2,499 | -20% | 0 | 0 | — |
▸case-03 Can you guide me on how to build a database population workflow for our Convex deployment? We need to populate test tables with mock records cleanly whenever developers reset the environment. | pass→pass | 18,046 | 10,063 | -44% | 1 | 1 | 0% | 3,028 | 2,191 | -28% | 0 | 0 | — |
▸case-04 I am setting up a Convex backend and need to define the database schema in `convex/schema.ts` for a blog application with `posts` and `comments` tables. What is the standard way to declare these table structures and field validators? | pass→pass | 13,911 | 7,676 | -45% | 1 | 1 | 0% | 2,094 | 1,730 | -17% | 0 | 0 | — |
▸case-05 I need to write a Convex query function in TypeScript that fetches active user sessions ordered by creation time so my React frontend can display them live. How should I write this query? | pass→pass | 14,320 | 9,369 | -35% | 1 | 1 | 0% | 2,087 | 1,790 | -14% | 0 | 0 | — |
▸case-06 How do I configure Auth0 as an authentication provider in `convex/auth.config.ts` for my Convex application? | pass→pass | 10,835 | 8,872 | -18% | 1 | 1 | 0% | 1,976 | 1,754 | -11% | 0 | 0 | — |
▸case-07 We are writing fixture data for local backend testing in Convex. My teammate suggested using `export const addFixtures = mutation(...)` so anyone on the team can trigger it from their client app. Is this the right approach or is there a better function type? | pass→pass | 13,437 | 8,594 | -36% | 1 | 1 | 0% | 2,147 | 1,436 | -33% | 0 | 0 | — |
▸case-08 I wrote an internal mutation in Convex to insert sample category records into my database table: `ctx.db.insert('categories', { name: 'Tech' })`. Every time I run it during development, it keeps appending duplicate categories. How should I fix the mutation code? | fail→pass | 12,613 | 10,470 | -17% | 1 | 1 | 0% | 1,939 | 1,542 | -20% | 0 | 0 | — |
▸case-09 I created an internal mutation `seedDevData` inside `convex/seed.ts` to populate mock users. Since it is an internal mutation, I cannot call it from my frontend code. How do I execute this internal seed mutation directly from my terminal? | pass→pass | 8,082 | 3,597 | -55% | 1 | 1 | 0% | 1,144 | 721 | -37% | 0 | 0 | — |
▸case-11 I just completed importing thousands of records into my Convex backend tables using CLI tools. What post-import validation step should I perform to confirm all records were completely transferred? | pass→pass | 14,317 | 11,871 | -17% | 1 | 1 | 0% | 1,999 | 1,948 | -3% | 0 | 0 | — |
▸case-12 We are preparing a seed script for our shared staging environment on Convex. Our team lead copied real customer emails, phone numbers, and API keys from production into the seed JSON file so the staging environment feels realistic. Should we commit and run this seed data? | pass→pass | 16,301 | 7,132 | -56% | 1 | 1 | 0% | 2,229 | 1,409 | -37% | 0 | 0 | — |
▸case-13 Can you provide a code example for a Convex internal seed mutation that populates a `tags` table with five standard tags, ensuring that running it 10 times results in exactly five total tags in the table? | fail→fail | 9,237 | 8,275 | -10% | 1 | 1 | 0% | 1,863 | 1,696 | -9% | 0 | 0 | — |
▸case-14 I want my Convex seed internal mutation to update existing settings documents if their key exists, or insert them if missing, rather than clearing the whole settings table. How should I write this logic? | pass→pass | 14,666 | 8,571 | -42% | 1 | 1 | 0% | 2,180 | 1,845 | -15% | 0 | 0 | — |
▸case-15 Our marketing team provided a CSV file `leads.csv` with 5,000 lead records. How can I import this directly into our Convex table named `leads` using official tooling? | pass→pass | 8,682 | 5,681 | -35% | 1 | 1 | 0% | 1,457 | 1,208 | -17% | 0 | 0 | — |
▸case-16 Describe the standard command-line syntax for running a local fixture seeding script defined as an internal mutation named `init` in `convex/seed.ts`. | pass→pass | 8,647 | 4,681 | -46% | 1 | 1 | 0% | 1,082 | 738 | -32% | 0 | 0 | — |
▸case-17 We are running a CLI import tool against our team's shared staging deployment on Convex. Is it safe to include real user passwords and private tokens in this import file if only internal developers have access to the staging dashboard? | pass→pass | 13,704 | 5,785 | -58% | 1 | 1 | 0% | 1,983 | 1,017 | -49% | 0 | 0 | — |
▸case-18 If my Convex table schema defines strict validators using `v.string()` and `v.number()`, what requirement must our raw JSON data file satisfy before executing CLI bulk data loading? | pass→pass | 11,964 | 5,461 | -54% | 1 | 1 | 0% | 1,736 | 1,038 | -40% | 0 | 0 | — |
▸case-19 We ran our idempotent Convex internal seed mutation on a fresh development deployment. What final validation check should we execute before declaring the environment ready for automated tests? | pass→pass | 14,257 | 4,057 | -72% | 1 | 1 | 0% | 1,664 | 673 | -60% | 0 | 0 | — |
▸case-22 I am writing an internal seed mutation for our Convex dev database that populates integration test accounts for third-party services like Stripe and Twilio. Should I store live API secret keys in the mock database rows? | pass→pass | 16,487 | 5,615 | -66% | 1 | 1 | 0% | 2,345 | 1,184 | -50% | 0 | 0 | — |