DT MongoDB Plug -in description(1)

本文涉及的产品
云数据库 MongoDB,独享型 2核8GB
推荐场景:
构建全方位客户视图
简介: DT MongoDB Plug -in description(1)

DT MongoDB | Client

Create MongoDB Client

Create an MongoDB client object


Connect By Url

ConnectB MongoDB server

Param Url : mongoDB://account:password@ip:port e.g. mongodb://admin:123456@127.0.0.1:27017

     or mongoDB://ip:port e.g. mongodb://127.0.0.1:27017


Get Collection



DT MongoDB | Collection

Insert One

Inserts a single document into the collection. If the document is missing an identifier

(_id field) one will be generated for it.

Param MongoDB Document : The document to insert.


Insert Many

Inserts multiple documents into the collection. If any of the documents are missing

identifiers the driver will generate them.


Warning This method uses the bulk insert command to execute the insertion as opposed to

the legacy OP_INSERT wire protocol message. As a result, using this method to insert many


documents on MongoDB < 2.6 will be slow.


Param MongoDB Documents : Array of a documents to insert.


Delete One

Deletes a single matching document from the collection.


Param Filter : Document view representing the data to be deleted.


Delete Many

Deletes all matching documents from the collection.


Param Filter : Document view representing the data to be deleted.


Replace One

Replaces a single document matching the provided filter in this collection.


Param Filter : Document representing the match criteria.

Param MongoDB Document : The replacement document.


Update One

Updates a single document matching the provided filter in this collection.


Param Filter : Document representing the match criteria.

Param MongoDB Document : Document representing the update to be applied to a matching document.


Update Many

Updates multiple documents matching the provided filter in this collection.


Param Filter : Document representing the match criteria.

Param MongoDB Document : Document representing the update to be applied to matching documents.


Find

Finds a single document in this collection that match the provided filter.

Param Filter : Document view representing a document that should match the query.


Find One

Finds a single document in this collection that match the provided filter.

Param Filter : Document view representing a document that should match the query.


DT MongoDB | Document

Create MongoDB Document

Create an MongoDB document object


To MongoDB Document (MongoDB Oid)

MongoDB Oid to MongoDB document


To MongoDB Document (Json)

Json String to MongoDB document


To MongoDB Document (MongoDB View)

DT MongoDB View to MongoDB document


To MongoDB Document (Map String)

Map String to MongoDB document


To MongoDB Document (Map Int32)

Map Int to MongoDB document


To MongoDB Document (Map Int64)

Map Int64 to MongoDB document


To MongoDB Document (Map Float)

Map Float to MongoDB document


To MongoDB Document (Map Double)

Map Double to MongoDB document


To MongoDB Document (Map MongoDB Document)

Map MongoDB document to MongoDB document


To Map String (MongoDB Document)

MongoDB document to Map String


To Map String (MongoDB Document)

MongoDB document to Json String


Add Bool


Add String


Add Int 32


Add Int 64


Add Float


Add Double


Add Document


Add View


Add Bool Array


Add String Array


Add Int 32 Array


Add Int 64 Array


Add Float Array


Add Double Array


Add Document Array

                   

相关实践学习
MongoDB数据库入门
MongoDB数据库入门实验。
快速掌握 MongoDB 数据库
本课程主要讲解MongoDB数据库的基本知识,包括MongoDB数据库的安装、配置、服务的启动、数据的CRUD操作函数使用、MongoDB索引的使用(唯一索引、地理索引、过期索引、全文索引等)、MapReduce操作实现、用户管理、Java对MongoDB的操作支持(基于2.x驱动与3.x驱动的完全讲解)。 通过学习此课程,读者将具备MongoDB数据库的开发能力,并且能够使用MongoDB进行项目开发。 &nbsp; 相关的阿里云产品:云数据库 MongoDB版 云数据库MongoDB版支持ReplicaSet和Sharding两种部署架构,具备安全审计,时间点备份等多项企业能力。在互联网、物联网、游戏、金融等领域被广泛采用。 云数据库MongoDB版(ApsaraDB for MongoDB)完全兼容MongoDB协议,基于飞天分布式系统和高可靠存储引擎,提供多节点高可用架构、弹性扩容、容灾、备份回滚、性能优化等解决方案。 产品详情: https://www.aliyun.com/product/mongodb
相关文章
|
JSON NoSQL MongoDB
DT MongoDB Plug -in description(2)
DT MongoDB Plug -in description(2)
79 0
|
10天前
|
存储 NoSQL 关系型数据库
非关系型数据库-MongoDB技术(二)
非关系型数据库-MongoDB技术(二)
|
10天前
|
NoSQL 关系型数据库 MongoDB
非关系型数据库-MongoDB技术(一)
非关系型数据库-MongoDB技术(一)
|
2月前
|
运维 监控 NoSQL
【MongoDB 复制集秘籍】Secondary 同步慢怎么办?深度解析与实战指南,让你的数据库飞速同步!
【8月更文挑战第24天】本文通过一个具体案例探讨了MongoDB复制集中Secondary成员同步缓慢的问题。现象表现为数据延迟增加,影响业务运行。经分析,可能的原因包括硬件资源不足、网络状况不佳、复制日志错误等。解决策略涵盖优化硬件(如增加内存、升级CPU)、调整网络配置以减少延迟以及优化MongoDB配置(例如调整`oplogSize`、启用压缩)。通过这些方法可有效提升同步效率,保证系统的稳定性和性能。
48 4
|
2月前
|
监控 NoSQL MongoDB
MongoDB数据库的索引管理技巧
【8月更文挑战第20天】MongoDB数据库的索引管理技巧
49 1
|
2月前
|
监控 NoSQL MongoDB
mongodb数据库 使用技巧
【8月更文挑战第20天】mongodb数据库 使用技巧
36 1
|
3天前
|
存储 NoSQL 前端开发
前端轻量级数据库mongodb
【10月更文挑战第2天】MongoDB 是一个基于分布式文件存储的开源数据库系统,不属于前端轻量级数据库,而是后端数据库。它使用 BSON 格式存储数据,支持复杂的数据结构,适用于内容管理系统、物联网等领域。MongoDB 通过动态模式和面向对象的数据存储方式,提供了灵活的数据模型。在 Web 应用中,它通常作为后端存储,通过 API 与前端交互,实现高效的数据管理和实时更新。
|
2月前
|
JSON NoSQL Ubuntu
在Ubuntu 14.04上如何备份、恢复和迁移MongoDB数据库
在Ubuntu 14.04上如何备份、恢复和迁移MongoDB数据库
62 1
|
2月前
|
NoSQL 大数据 MongoDB
云中对决:Amazon DocumentDB 与 MongoDB的终极较量,谁将主宰云端数据库的未来?
【8月更文挑战第8天】在云计算与大数据时代,文档数据库因灵活高效备受开发者青睐。本文作为指南,全面对比Amazon DocumentDB与MongoDB。DocumentDB兼容MongoDB,便于迁移;在AWS环境下,它提供卓越的性能与自动伸缩能力。MongoDB则侧重于自定义部署与成本控制。DocumentDB作为托管服务简化管理但成本较高,而MongoDB需自行处理安全性与备份。根据需求与预算,开发者可作出最佳选择。
46 3
下一篇
无影云桌面