Compl3x
Compl3x9mo ago

Is there any way to select only field that are required

[ { _id: -------, title: ------, firstName: ------, secondName: -----, rollNo: -----, }, .... .... ] for example we just want to send only rollNo after doing .get() or .query()
1 Reply
erquhart
erquhart9mo ago
You can't get a partial document from db.get()/query(), but you can limit what you return from your convex query/mutation/action functions.

Did you find this page helpful?