Selects documents in a collection and returns a cursor to the selected documents.
Parameter | Type | Description |
---|---|---|
query | document | Optional. Specifies selection filter using query operators. To return all documents in a collection, omit this parameter or pass an empty document ({}). |
projection | document | Optional. Specifies the fields to return in the documents that match the query filter. To return all fields in the matching documents, omit this parameter. For details, see Projection. |
参考:https://mongoing.com/docs/reference/method/db.collection.find.html
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· 分享4款.NET开源、免费、实用的商城系统
· 全程不用写代码,我用AI程序员写了一个飞机大战
· MongoDB 8.0这个新功能碉堡了,比商业数据库还牛
· 白话解读 Dapr 1.15:你的「微服务管家」又秀新绝活了
· 上周热点回顾(2.24-3.2)
2022-05-27 geotools临时打断线,重新构图(graph)
2021-05-27 PostgrelSQL和PostGIS安装教程
2021-05-27 PostGIS+SpringBoot生成实时矢量瓦片?
2021-05-27 GeoWebCache教程
2021-05-27 GeoWebCache如何设置栅格瓦片的缓存过期时间?
2020-05-27 基于Python的arcgis二次开发和ENVI二次开发