Skip to main content

🗄️ Introduction

Warlock is equipped with MongoDB as the default database, which is currently the only supported database engine.

MongoDB in Warlock is powered by the Cascade package, a robust wrapper around the official MongoDB driver, offering tremendous features and exceptional performance.

🌟 Why MongoDB?

MongoDB is a leading NoSQL database known for its flexibility, scalability, and ease of use. It allows developers to store data in a JSON-like format, making it ideal for modern applications that require fast and efficient data handling.

Key Features of MongoDB:

  • Document-Oriented Storage: Data is stored in flexible, JSON-like documents, allowing for dynamic schemas.
  • Scalability: MongoDB supports horizontal scaling through sharding, making it suitable for large-scale applications.
  • High Performance: Optimized for read and write operations, MongoDB ensures fast data access and manipulation.
  • Rich Query Language: Offers a powerful query language with support for ad-hoc queries, indexing, and real-time aggregation.
  • Strong Consistency: Provides strong consistency guarantees, ensuring data accuracy and reliability.
info

In the next major release, support for other databases like MySQL, Postgres, and SQLite will be introduced, expanding the flexibility and options for developers.

By leveraging MongoDB, Warlock ensures that developers have access to a powerful and efficient database solution, enabling them to build high-performance applications with ease. Whether you're developing a small project or a large-scale application, MongoDB provides the tools and capabilities needed to succeed.