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

Mac

MBS-Xojo-Plugins225.dmg
( 886M )

Windows Windows

Windows

MBS-Xojo-Plugins225.zip
( 901M )

Linux Linux

Linux

MBS-Xojo-Plugins225.zip
( 901M )

Documentation

Installation

Individual files   Libraries

Prerelease   Real Studio

Dropbox Mirror

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

You can order a license here: Order

This plugin part is included if you buy 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.

Example

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 }

Break

Classes

Trademark

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...


Start Chat