> For the complete documentation index, see [llms.txt](https://docs.codemash.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.codemash.io/cloud/database.md).

# Database

A schema-driven data layer on top of MongoDB.

The **Database** module gives your project a schema-driven data layer on top of MongoDB — structured collections with validation, a full CRUD + query API, record-level triggers, taxonomies, saved aggregations, and CSV imports. You host MongoDB (or use a managed Flex cluster); Norbix owns the schema layer and the API surface.

<figure><img src="https://760328771-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LwSkuCpTNI_AerL8J2a%2Fuploads%2Fgit-blob-bfd038845d904c0e36b3063b7e10b93a4c748319%2Fdatabase.jpg?alt=media" alt=""><figcaption><p>The Database module home.</p></figcaption></figure>

## Screens in this module

**Collections** — your records and their schemas. **Taxonomies** — hierarchical terms you attach to records. **Aggregates** — saved MongoDB pipelines. **Imports** — CSV loading. **Integrations** — the MongoDB connection(s). **Settings** — module behaviour.

## Use it from code

[Database](/sdks-and-cli/database.md) in the SDK reference — including the end-user data API (`find`, `insertOne`, `findOwn`, ...).

## API reference

Endpoints: [Database](/api-reference/database.md).
