DevStronauTD
Convex Community2y ago
2 replies
DevStronauT

Delete a document by multiple fields??

Hey I've this schema for one of my table!

name: v.string(),
email: v.string(),
imgUrl: v.string(),
document: v.id("documents"),


We can delete the document using
ctx.db.delete(id);


But I want to delete document where email=something and document=something
How to achieve this??
Was this page helpful?