Skip to main content
Mutations write data, transactionally. ACID guarantees: either everything in the mutation succeeds, or none of it does.

Anatomy

convex/tasks.ts

On the client

Database operations

Limits

  • No third-party API calls — use actions for that.
  • 10-second timeout.
  • Atomic: if the mutation throws, all writes are rolled back.

Patterns

Queries

Read data.

Actions

For writes that need third-party calls.

Schema

Validators and constraints.
Last modified on April 18, 2026