# Object Document Mapper (ODM)

*noun*

say it: **“AHB-jekt DOK-yuh-ment MAP-er”** **/ˈɑbdʒɛkt ˈdɑkjəmənt ˈmæpər/** or **“OH-dee-EM”** **/ˌoʊˌdiˈɛm/**

A library that converts between a program's objects and a document database's documents, checking each against a schema.

## What is an **object document mapper** (ODM)?

An **object document mapper** (ODM) is a library, such as Mongoose, that turns your program's objects into database documents and back. It adds a schema that describes and checks each kind of document, which MongoDB on its own doesn't require.

## In a sentence

- “The **object document mapper** caught the missing minutes field before the workout reached the database.”
- “Mongoose is the **ODM** most Node projects use with MongoDB.”

Level: Journeyman · [More MongoDB terms at this level](https://www.ask-codey.com/glossary?category=mongodb&level=3)

Updated: November 19, 2026

Source: https://www.ask-codey.com/glossary/object-document-mapper-odm
