# @prisma-next/mongo-value

> Primitive value types for Prisma Next MongoDB support

Latest version **0.16.0** (published 2026-07-21) · Apache-2.0 license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install @prisma-next/mongo-value
pnpm add @prisma-next/mongo-value
yarn add @prisma-next/mongo-value
bun add @prisma-next/mongo-value
```

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 0.16.0 |
| Published | 2026-07-21 |
| First published | 2026-04-09 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | bundled |
| Module format | ESM |
| Node | >=24 |
| Dependencies | 1 |
| Unpacked size | 17.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 414 |
| Maintainers | sevinf, tylerhogarth, aqrln, wmadden-prisma |

## Links

- npm: https://www.npmjs.com/package/@prisma-next/mongo-value
- Repository: https://github.com/prisma/prisma-next
- Homepage: https://github.com/prisma/prisma-next#readme
- Issues: https://github.com/prisma/prisma-next/issues
- npm.io page: https://npm.io/package/@prisma-next/mongo-value

## Dependencies (1)

- [mongodb](https://npm.io/package/mongodb.md) ^7.4.0

## Recent versions

- 0.16.0 (latest) — 2026-07-21
- 0.16.0-dev.35 (dev) — 2026-08-24
- 0.16.0-dev.34 — 2026-07-27
- 0.16.0-dev.33 — 2026-07-27
- 0.16.0-dev.32 — 2026-07-27
- 0.16.0-dev.31 — 2026-07-27
- 0.16.0-dev.30 — 2026-07-27
- 0.16.0-dev.29 — 2026-07-27
- 0.16.0-dev.28 — 2026-07-24
- 0.16.0-dev.27 — 2026-07-24
- 0.16.0-dev.26 — 2026-07-24
- 0.16.0-dev.25 — 2026-07-24
- 0.16.0-dev.24 — 2026-07-24
- 0.16.0-dev.23 — 2026-07-24
- 0.16.0-dev.22 — 2026-07-23
- … 541 more at https://npm.io/package/@prisma-next/mongo-value/versions

## README

# @prisma-next/mongo-value

Primitive value types and parameter references for the MongoDB family.

## Responsibilities

- **Value types**: `MongoValue`, `LiteralValue`, `MongoDocument`, `MongoArray`, `MongoExpr`, `MongoUpdateDocument`, `RawPipeline`, and `Document` — the shared vocabulary for all MongoDB expression and document types
- **Parameter references**: `MongoParamRef` — an immutable tagged reference carrying a runtime value, optional name, and codec ID for parameter binding during query lowering

## Dependencies

- **Depends on**: nothing (leaf package)
- **Depended on by**:
  - `@prisma-next/mongo-query-ast` (filter expressions and pipeline stages)
  - `@prisma-next/mongo-wire` (wire command payloads)
  - `@prisma-next/mongo-codec` (codec encode/decode signatures)
  - `@prisma-next/adapter-mongo` (lowering and driver integration)

---
_Source: https://npm.io/package/@prisma-next/mongo-value · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
