RJ
RJ2y ago

Minor documentation error

The example for db.replace in https://docs.convex.dev/database/writing-data#updating-existing-documents is incorrect. It looks like this:
db.replace("tasks", id, {tag})
db.replace("tasks", id, {tag})
but should be:
db.replace(id, {tag})
db.replace(id, {tag})
1 Reply
ari
ari2y ago
Woo thanks for flagging! Will fix this

Did you find this page helpful?