← Back to feed
ChangelogConvex
Severity
Medium
Published
5 months agoDec 11, 2025
Signal
38

Why ctx.db is changing, and what you should do about it

TL;DR Starting from convex 1.31.0, the db.get, db.patch, db.replace, and db.delete functions take the table name as the first argument. The new API is safer and allows for more customization in the future. Existing code will still work, an…

Official source entry

Why ctx.db is changing, and what you should do about it

From Convex News. The simplified record can be checked against the original wording.

Why it matters

Convex updated convex news semantics for backend and database. Review the official entry during the next release review.

Who should care

  • backend

Affected stack

  • backend
  • database
  • developer-workflow

Categories

api