Orchid ORM
- 🚀️ 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
If something is broken after an update, see BREAKING CHANGES (if it's not in there, new issues are very welcome!).
Packages
| Package | Status (click for changelogs) | Installation | Documentation |
| ------------------------------------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------- | :------------------------------- | ---------------------------------------------------------------------------------------- |
| orchid-orm | | npm i orchid-orm | ORM and query builder |
| pqb |
| npm i pqb | ORM and query builder |
| orchid-orm-schema-to-zod |
| npm i orchid-orm-schema-to-zod | Validation |
| orchid-orm-valibot |
| npm i orchid-orm-valibot | Validation |
| rake-db |
| npm i -D rake-db | Migrations |
| orchid-orm-test-factory |
| npm i -D orchid-orm-test-factory | Factories |
Contribution
See Contributing Guide.
License
MIT.