The Mongoose `Model.find()` function finds all documents in a ... sort docs.map(doc => doc.name).sort(); // ['Geordi La Forge', 'Worf'].
確定! 回上一頁