mongodb findone
Parameter, Type, Description. filter, document. The selection criteria for the update. The same query selectors as in the find() method are available. Specify an ... ,MongoDB-Collection::findOne. Finds a single document matching the query. copy. copied. function findOne($filter = [], array $options = []): array|object|null.
相關軟體 MongoDB 資訊 | |
---|---|
MongoDB 是一個免費且開放源碼的跨平檯面向文檔的數據庫程序。分類為 NoSQL 數據庫程序,MongoDB 使用類似 JSON 的文檔與模式。它為使用 MongoDB 包括數據庫開發人員和 DBA 的任何人提供了豐富的 GUI 工具。主要功能包括:全功能嵌入 MongoDB Shell,用戶友好的 Map-Reduce 操作編輯器,創建 / 刪除數據庫,管理集合及其索引的能力,用戶友好的 G... MongoDB 軟體介紹
mongodb findone 相關參考資料
db.collection.findOne() — MongoDB Manual
If you specify a projection parameter, findOne() returns a document that only contains the projection fields. The _id field is always included unless you explicitly ... https://docs.mongodb.com db.collection.findOneAndUpdate() — MongoDB Manual
Parameter, Type, Description. filter, document. The selection criteria for the update. The same query selectors as in the find() method are available. Specify an ... https://docs.mongodb.com MongoDBCollection::findOne() — PHP Library Manual 1.2
MongoDB-Collection::findOne. Finds a single document matching the query. copy. copied. function findOne($filter = [], array $options = []): array|object|null. https://docs.mongodb.com Queries — MongoDB Node.JS Driver 1.4.9 documentation
findOne is a convinence method finding and returning the first match of a query while regular find returns a cursor object instead. Use it when you expect only ... https://mongodb.github.io |