Ottoman.js offers an ODM for Couchbase, adding an abstraction layer over the Node.js SDK to simplify development and reduce boilerplate. It enhances data quality with schema definitions, validators, and custom data types. Ottoman is open-source, secure, and supports JavaScript/TypeScript, ensuring adaptability and affordability. It enables agility with features like built-in queries, hooks, plugins, bulk operations, and a query builder, supporting fast, efficient application development.
Ottoman is designed to be familiar to uses of Mongoose.js
Ottoman.js is an ODM (Object Document Mapper) for Couchbase, enabling developers to define schemas, models, and perform database operations using JavaScript or TypeScript.
Schemas are defined using the Schema class, allowing you to specify field types, defaults, enums, and nested objects, similar to Mongoose.
Yes, Ottoman.js supports powerful query capabilities, including find, removeById, and findOneAndUpdate, leveraging Couchbase’s query engine.
Yes, Ottoman.js allows you to execute custom SQL++ queries, giving you full access to Couchbase’s advanced query capabilities.
We’re all hanging out on Discord and would love for you to join our conversations.
Here’s everything you need to start building with Couchbase Capella™.
Whether you’re managing Couchbase on premises, using Couchbase Autonomous Operator (CAO), using Couchbase Capella, or writing apps that use Couchbase, we have a certification for you.
News breaks first on our blog. Stay up to date on the Couchbase ecosystem and learn tips and tricks from our engineers, developer advocates, and partners.