Openblocks x MongoDB

Openblocks x MongoDB

Openblocks · 2 minute read
  1. Connect to MongoDB in Openblocks
  2. Using MongoDB in Openblocks
  3. CRUD operations
  4. Access data
  5. About Openblocks

MongoDB is a broadly used NoSQL document-oriented database management system, especially popular for apps that dealing with huge amounts of data. Using schema-less data models, MongoDB stores data in dynamic and complex data structures, instead of the traditional way, in rows and columns. This flexibility makes MongoDB a perfect tool for both unstructured and semi-structure data.

Offering a variety of features, MongoDB is also an excellent system for robust and scalable web applications. You can scale it horizontally by distributing data across multiple servers using sharding. Besides, by adopting BSON (Binary JSON) format, MongoDB provides easier and more efficient indexing, data retrieval, and data manipulation. Supported by a large and active community of developers, MongoDB is highly available, reliable, and flexible for a wide range of use cases.

Connect to MongoDB in Openblocks

Step 1: Create new data sources > Select MongoDB, and fill in the fields.

Step 2: Create MongoDB queries.

Step 3: Display query results in specified components.

Using MongoDB in Openblocks

CRUD operations

When connected to MongoDB in Openblocks, you can perform create, read, update, and delete operations.

Access data

You can check the data structure in the data browser panel, and access query results via {{queryName.data}} anywhere in your app.

About Openblocks

Openblocks is an open-source low-code platform where you can find 50+ built-in components. It also offers excellent documentation to discuss technical details, present practical tutorials, and provide all the information you need know for building an app. On Openblocks, you can get connected to most databases and any API within clicks, design custom components, share apps with colleagues or customers, and more.

Start your first app now and feel free to reach the vibrant community on Discord if you encounter any issue or would like to share an idea!