JSPM

drizzle-orm

0.12.0-beta.11
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1826920
  • Score
    100M100P100Q261800F
  • License Apache-2.0

Drizzle ORM package for SQL databases

Package Exports

  • drizzle-orm
  • drizzle-orm/alias
  • drizzle-orm/alias.js
  • drizzle-orm/column-builder
  • drizzle-orm/column-builder.js
  • drizzle-orm/expressions
  • drizzle-orm/expressions.js
  • drizzle-orm/index.js
  • drizzle-orm/sql
  • drizzle-orm/sql/index.js
  • drizzle-orm/table
  • drizzle-orm/table.js
  • drizzle-orm/utils
  • drizzle-orm/utils.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (drizzle-orm) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

DrizzleORM

DrizzleORM is a TypeScript ORM library with a drizzle-kit CLI companion for automatic SQL migrations generation. It's meant to be a library, not a framework, stay as an opt-in solution all the time at any levels. We try to follow SQL-like syntax whenever possible, be strongly typed ground top and fail in compile time, not in runtime. We implemented best in class joins and second to none migrations generation. Library has almost zero dependencies and being battle tested on production projects by multiple teams 🚀

database support
PostgreSQL Docs
MySQL Docs
SQLite
DynamoDB
MS SQL
CockroachDB

Installation

// postgresql
npm install drizzle-orm drizzle-orm-pg
npm install -D drizzle-kit

// mysql
npm install drizzle-orm drizzle-orm-mysql
npm install -D drizzle-kit

// sqlite
npm install drizzle-orm drizzle-orm-sqlite
npm install -D drizzle-kit