私が行くことによって、主キーとしてのObjectIdで文書を見つける必要があります。ObjectIdによるMongodbの検索クエリでstringまたはObjectIdを使用しますか?
this._db
.collection('users')
.find({ _id: 'aaaaa0000000000000000000' })
.toArray();
または
this._db
.collection('users')
.find({ _id: ObjectId('aaaaa0000000000000000000') })
.toArray();
これを参照してください https://stackoverflow.com/questions/45617525/mongodb-query-find-all-by-userid/45618622#45618622 – elcabezon