Use of MongoDB Java Driver

版本 1.1.0.0 (2.9 KB) 作者: Guillaume A.
A simple example of how to use java driver for mongoDB.
1.5K 次下载
更新时间 2013/8/22

查看许可证

This is a simple example of how to use java driver for mongoDB.
From http://www.mongodb.org/ :
MongoDB is an open-source document database, and the leading NoSQL database. Written in C++.

If you do not have any toolbox to manipulate databases, you have several options. You can use a SqlLite database as it is a simple file, or you could use a SQL server on your computer. I present here a simple approach with mongoDB.

To run this example, you need to install mongoDB on your computer. Then, download the last java driver (JAR file) your favorite directory.

The file is largely commented so you can follow each steps easily. This simple example is partly taken from the mongoDB website and adapted for Matlab. This prooves how to store various objects in a single tuple of a database, much more versatile than SQL as you can store any type of data, from string to flat to arrays etc.

Have fun !

引用格式

Guillaume A. (2024). Use of MongoDB Java Driver (https://www.mathworks.com/matlabcentral/fileexchange/43171-use-of-mongodb-java-driver), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R2012a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Database Toolbox 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
1.1.0.0

Added some comments in file

1.0.0.0