Main Content
connection
Description
The connection
object enables you to connect to MongoDB® stored on one or more database servers. Using the connection
object, you can manage document collections in the database. You can also query documents
stored in a collection and import them into the MATLAB® workspace. From MATLAB, you can export MATLAB tables, structures, and objects into MongoDB. For details about MongoDB, see the MongoDB Manual.
Creation
Create the connection
object using the mongoc
function.
Properties
Object Functions
Examples
Version History
Introduced in R2021b
See Also
Topics
- Import and Analyze Data from MongoDB Using MongoDB C++ Interface
- Import Filtered Data from MongoDB Using MongoDB C++ Interface
- Import Large Data from MongoDB Using MongoDB C++ Interface
- Export MATLAB Data into MongoDB Using MongoDB C++ Interface
- Import and Export MATLAB Objects Using MongoDB and MongoDB C++ Interface