DT MongoDB Plug -in description(1)

本文涉及的产品
云数据库 MongoDB,通用型 2核4GB
简介: 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
相关文章
|
10月前
|
JSON NoSQL MongoDB
DT MongoDB Plug -in description(2)
DT MongoDB Plug -in description(2)
62 0
|
2天前
|
存储 NoSQL MongoDB
MongoDB如何创建数据库
MongoDB如何创建数据库
|
2天前
|
存储 NoSQL MongoDB
MongoDB数据库转换为表格文件的Python实现
MongoDB数据库转换为表格文件的Python实现
27 0
|
2天前
|
存储 NoSQL 关系型数据库
Percona XtraBackup是否支持MongoDB数据库备份?
【5月更文挑战第13天】Percona XtraBackup是否支持MongoDB数据库备份?
27 1
|
2天前
|
NoSQL atlas MongoDB
Nosql数据库MongoDB的使用场景
【5月更文挑战第5天】 MongoDB是全球性的多云数据库,可在私有、公共和混合云中运行,提供高可用性、扩展性和合规性。 安全特性包括认证、授权、审计、网络隔离和加密。可提供跨云操作、可视化工具、搜索功能和数据湖支持,适用于现代应用开发,包括边缘数据处理。
29 1
|
2天前
|
JSON NoSQL MongoDB
理解Nosql数据库的mongodb
【5月更文挑战第5天】MongoDB是2009年发布的一款通用型NoSQL数据库,结合了关系模型和NoSQL的优点,适用于各种现代应用。其特点包括图形界面、数据服务、云基础设施集成(AWS, Azure, Google Cloud)。它具备全面的查询能力、ACID事务、可调整的一致性保证,并有多语言驱动及工具,可在任何地方运行。
24 4
|
2天前
|
存储 NoSQL 关系型数据库
【MongoDB 专栏】MongoDB 与传统关系型数据库的比较
【5月更文挑战第10天】本文对比了MongoDB与传统关系型数据库在数据模型、存储结构、扩展性、性能、事务支持、数据一致性和适用场景等方面的差异。MongoDB以其灵活的文档模型、优秀的扩展性和高性能在处理非结构化数据和高并发场景中脱颖而出,而关系型数据库则在事务处理和强一致性上更具优势。两者各有适用场景,选择应根据实际需求来定。随着技术发展,两者正相互融合,共同构建更丰富的数据库生态。
【MongoDB 专栏】MongoDB 与传统关系型数据库的比较
|
2天前
|
存储 NoSQL 关系型数据库
MongoDB非关系型数据库实战
【5月更文挑战第6天】MongoDB,流行的NoSQL数据库,以其灵活的数据模型和高性能备受青睐。本文介绍了MongoDB的基础,包括文档型数据库特性、安装配置、数据操作。通过电商订单管理的实战案例,展示了MongoDB在处理复杂数据结构和大规模数据时的优势,适用于电商、游戏、视频直播等场景。MongoDB的索引、全文搜索和地理空间功能进一步增强了其实用性。注意性能优化和扩展性以确保系统稳定性和可靠性。
|
2天前
|
弹性计算 NoSQL Shell
一键安装 MongoDB 数据库脚本
【4月更文挑战第29天】
19 4
|
2天前
|
NoSQL MongoDB 数据库
MongoDB数据恢复—MongoDB数据库文件被破坏的数据恢复案例
服务器数据恢复环境: 一台Windows Server操作系统服务器,服务器上部署MongoDB数据库。 MongoDB数据库故障&检测: 工作人员在未关闭MongoDB数据库服务的情况下,将数据库文件拷贝到其他分区。拷贝完成后将原MongoDB数据库所在分区进行了格式化操作,然后将数据库文件拷回原分区,重新启动MongoDB服务,服务无法启动。