The MBS Xojo MongoDB Plugin

All plugins   Documentation   Download   Mailing list  
Order MongoDB Plugin license   Order Complete Set License   Plugin Content  

Connect to MongoDB databases directly.

This plugin is included in our plugin archive:

Download the MBS Xojo Plugins

Mac macOS


( 824M )

Windows Windows

( 823M )

Linux Linux

( 823M )



Presentations   Prerelease

Individual files   Libraries

Dropbox Mirror

All archives contain the same content.
MBS MongoDB Plugin.pdf 726K

You can order a license here: Order

This plugin part is included if you order a Complete set license.

MongoDB is an open source cross platform NoSQL database to store JSON-like documents.

Instead of tables, you have collections and your records are JSON documents.

  • Connect to MongoDB databases.
  • Insert documents into collections.
  • Update or delete documents.
  • Find documents.
  • Estimate number of documents in a collection.


Connect to a database and insert a record:

const URL = "mongodb://localhost/"

dim uri as new MongoURIMBS(URL)
dim client as new MongoClientMBS(uri)

dim database as MongoDatabaseMBS = client.Database("local")
dim Collection as MongoCollectionMBS = database.Collection("test")

dim j as new JSONItem
j.Value("Hello") = "World"

dim reply as string = Collection.InsertOne(j.ToString)

// reply is { "insertedCount" : 1 }




MongoDB is a registered trademark of MongoDB, Inc. and is not affiliated with Monkeybread Software. We just provide functionality for Xojo to connect and use Mongo databases from your applications.

The Mongo C Driver is licensed under Apache License, Version 2.0, January 2004.

The documentation for MBS MongoDB Plugin:

show all functions and classes in this plugin.

Examples for this plugin:

Blog Entries

Xojo Developer Magazine

Content of MongoDB Plugin.

The biggest plugin in space...