https://github.com/romeerez/orchid-orm
Orchid ORM
https://github.com/romeerez/orchid-orm
database nodejs orm postgresql query-builder typescript
Last synced: 15 days ago
JSON representation
Orchid ORM
- Host: GitHub
- URL: https://github.com/romeerez/orchid-orm
- Owner: romeerez
- License: mit
- Created: 2022-07-08T01:59:54.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2025-04-14T01:18:24.000Z (15 days ago)
- Last Synced: 2025-04-14T05:53:43.841Z (15 days ago)
- Topics: database, nodejs, orm, postgresql, query-builder, typescript
- Language: TypeScript
- Homepage: https://orchid-orm.netlify.app/
- Size: 9.17 MB
- Stars: 517
- Watchers: 3
- Forks: 14
- Open Issues: 27
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
[](https://stand-with-ukraine.pp.ua)
# Orchid ORM


[](https://discord.gg/95pa6FpBB9)- 🚀️ productive way to work with models and relations
- 🧐️ full control over the database with powerful query builder
- 😎️ model schema can be converted to Zod for validations
- 🛳️ migration tools
- 💯 100% TypeScript, define a schema and everything else will be inferred[Read the docs](https://orchid-orm.netlify.app/guide/).
If something is broken after an update, see [BREAKING CHANGES](./BREAKING_CHANGES.md) (if it's not in there, new issues are very welcome!).
## Packages
| Package | Status (click for changelogs) | Installation | Documentation |
| ------------------------------------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------- | :------------------------------- | ---------------------------------------------------------------------------------------- |
| [orchid-orm](packages/orm) | [](packages/orm/CHANGELOG.md) | npm i orchid-orm | [ORM and query builder](https://orchid-orm.netlify.app/guide/orm-and-query-builder.html) |
| [pqb](packages/qb/pqb) | [](packages/qb/pqb/CHANGELOG.md) | npm i pqb | [ORM and query builder](https://orchid-orm.netlify.app/guide/orm-and-query-builder.html) |
| [orchid-orm-schema-to-zod](packages/schemaConfigs/zod) | [](packages/schemaConfigs/zod/CHANGELOG.md) | npm i orchid-orm-schema-to-zod | [Validation](https://orchid-orm.netlify.app/guide/columns-validation-methods.html) |
| [orchid-orm-valibot](packages/schemaConfigs/valibot) | [](packages/schemaConfigs/zod/CHANGELOG.md) | npm i orchid-orm-valibot | [Validation](https://orchid-orm.netlify.app/guide/columns-validation-methods.html) |
| [rake-db](packages/rake-db) | [](packages/rake-db/CHANGELOG.md) | npm i -D rake-db | [Migrations](https://orchid-orm.netlify.app/guide/migration-setup-and-overview.html) |
| [orchid-orm-test-factory](packages/test-factory) | [](packages/test-factory/CHANGELOG.md) | npm i -D orchid-orm-test-factory | [Factories](https://orchid-orm.netlify.app/guide/orm-test-factories.html) |## Contribution
See [Contributing Guide](CONTRIBUTING.md).
## License
[MIT](LICENSE).