rphansen91/ts-mongo-codegen

Use values of response.insertedIds it is an object not an array

Closed this issue · 0 comments

const cursor = await context.${collectionName}.find({
      _id: {
        $in: response.insertedIds
      }
    })