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
- Auth-scoped write
- Permission check
- Cascading delete
Related
Queries
Read data.
Actions
For writes that need third-party calls.
Schema
Validators and constraints.
