Use values of response.insertedIds it is an object not an array
Closed this issue · 0 comments
rphansen91 commented
const cursor = await context.${collectionName}.find({
_id: {
$in: response.insertedIds
}
})
Closed this issue · 0 comments
const cursor = await context.${collectionName}.find({
_id: {
$in: response.insertedIds
}
})