drizzle-orm 0.14.1 → 0.14.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +29 -18
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -1,23 +1,34 @@
1
1
  <div align="center">
2
- <h1>Drizzle ORM</h1>
3
- <a href="https://www.npmjs.com/package/drizzle-orm"><img alt="" src="https://img.shields.io/npm/v/drizzle-orm"></a>
4
- <img alt="" src="https://img.shields.io/npm/dw/drizzle-orm">
5
- <img alt="npm bundle size" src="https://img.shields.io/bundlephobia/min/drizzle-orm">
6
- <img alt="Discord" src="https://img.shields.io/discord/1043890932593987624">
7
- <a href="https://github.com/drizzle-team/drizzle-orm/blob/main/LICENSE"><img alt="GitHub" src="https://img.shields.io/github/license/drizzle-team/drizzle-orm"></a>
8
- <hr />
2
+ <h1>Drizzle ORM <a href=""><img alt="npm" src="https://img.shields.io/npm/v/drizzle-orm?label="></a></h1>
3
+ <img alt="npm" src="https://img.shields.io/npm/dw/drizzle-orm">
4
+ <img alt="npm bundle size" src="https://img.shields.io/bundlephobia/min/drizzle-orm">
5
+ <a href="https://discord.gg/yfjTbVXMW4"><img alt="Discord" src="https://img.shields.io/discord/1043890932593987624"></a>
6
+ <img alt="NPM" src="https://img.shields.io/npm/l/drizzle-orm">
7
+ <h6><i>If you know SQL, you know Drizzle ORM</i></h6>
8
+ <hr />
9
9
  </div>
10
10
 
11
- DrizzleORM is a TypeScript ORM library with a [drizzle-kit](#migrations) CLI companion for automatic SQL migrations generation.
12
- It's meant to be a library, not a framework, stay as an opt-in solution all the time at any levels.
13
- We try to follow SQL-like syntax whenever possible, be strongly typed ground top and fail in compile time, not in runtime.
14
- We implemented best in class `joins` and second to none `migrations generation`.
15
- Library has almost zero dependencies and being battle tested on production projects by multiple teams 🚀
11
+ Drizzle ORM is a TypeScript ORM for SQL databases designed with maximum type safety in mind. It comes with a [drizzle-kit](https://github.com/drizzle-team/drizzle-kit-mirror) CLI companion for automatic SQL migrations generation. Drizzle ORM is meant to be a library, not a framework. It stays as an opt-in solution all the time at any levels.
16
12
 
17
- | database | support | |
18
- |:-- | :---: | :-- |
13
+ The ORM main philosophy is "If you know SQL, you know Drizzle ORM". We follow the SQL-like syntax whenever possible, are strongly typed ground top and fail at compile time, not in runtime.
14
+
15
+ Drizzle ORM is being battle-tested on production projects by multiple teams 🚀 Give it a try and let us know if you have any questions or feedback on [Discord](https://discord.gg/yfjTbVXMW4).
16
+
17
+ ### Feature list
18
+
19
+ - Full type safety
20
+ - [Smart automated migrations generation](https://github.com/drizzle-team/drizzle-kit-mirror)
21
+ - No ORM learning curve
22
+ - SQL-like syntax for table definitions and queries
23
+ - Best in class fully typed joins
24
+ - Fully typed partial and non-partial selects of any complexity
25
+ - Auto-inferring of TS types for DB models for selections and insertions separately
26
+ - Zero dependencies
27
+
28
+ | Database | Support | 📄 |
29
+ |:------------|:-------:|:---|
19
30
  | PostgreSQL | ✅ |[Docs](https://github.com/drizzle-team/drizzle-orm/tree/main/drizzle-orm-pg)|
20
- | MySQL | | |
31
+ | MySQL | |[Docs](https://github.com/drizzle-team/drizzle-orm/tree/main/drizzle-orm-mysql) |
21
32
  | SQLite | ✅ |[Docs](https://github.com/drizzle-team/drizzle-orm/tree/main/drizzle-orm-sqlite)|
22
33
  | DynamoDB | ⏳ | |
23
34
  | MS SQL | ⏳ | |
@@ -26,15 +37,15 @@ Library has almost zero dependencies and being battle tested on production proje
26
37
  ### Installation
27
38
 
28
39
  ```bash
29
- // postgresql
40
+ # postgresql
30
41
  npm install drizzle-orm drizzle-orm-pg
31
42
  npm install -D drizzle-kit
32
43
 
33
- // mysql
44
+ # mysql
34
45
  npm install drizzle-orm drizzle-orm-mysql
35
46
  npm install -D drizzle-kit
36
47
 
37
- // sqlite
48
+ # sqlite
38
49
  npm install drizzle-orm drizzle-orm-sqlite
39
50
  npm install -D drizzle-kit
40
51
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "drizzle-orm",
3
- "version": "0.14.1",
3
+ "version": "0.14.2",
4
4
  "description": "Drizzle ORM package for SQL databases",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",