Site icon Embarcadero RAD Studio, Delphi, & C++Builder Blogs

Learn How To Work With MongoDB Dataset In A Delphi application Quickly Using ListView Sample App

MongoDB is a document database, which means it stores data in JSON-like documents, the most natural way to think about data, and is much more expressive and powerful than the traditional row/column model. How about connecting with MongoDB using FireDAC components in your Application and access the dataset to show in a list view? Don’t know where to start? This post will guide you to do that.

MongoDB.ListView Sample App shows how to work with a sample MongoDB Database and show the data in the Listview.

You can find Delphi and C++ code samples in GitHub Repositories. Search by name into the samples repositories according to your RAD Studio version.

Components used in MangoDB.ListView App:

Implementation Details:

Before implementing this, as a preliminary step, we need to have a MongoDB Server is running and accessible from your host. For Details, See Connect to MongoDB Database. The “restaurants” collection of the “test” database is provisioned with test data. To provision this collection, run the MongoDB Restaurants Demo, and click the Load Data button: You can find the MongoDB Restaurants Demo sample project at: Object PascalDatabaseFireDACSamplesDBMS SpecificMongoDBRestaurants

Check out the full article in the DocWiki about the MongoDB.ListView Sample.

<strong>MongoDB ListView Sample App<strong>

Check out the full source code for the MongoDB.ListView projects for Delphi and C++Builder over on GitHub.

Exit mobile version