StoicWandererS
Convex Community3y ago
7 replies
StoicWanderer

db.patch should leave existing fields unmodified

Hello Convex people,

My problem is that I want to patch some document fields in my DB and it would be nice to don't make an extra query of my existing data in order to leave them as they are, so that I can use the db.patch function to add new fields to my documents.

What doyou think, can that be feasible to make the db.patch to leave the existing fields intact?
Was this page helpful?