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
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.