/orchid-orm

Orchid ORM

Primary LanguageTypeScriptMIT LicenseMIT

Stand With Ukraine

Orchid ORM

tests coverage Discord

  • 🚀️ 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.

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 orchid-orm version npm i orchid-orm ORM and query builder
pqb pqb version npm i pqb ORM and query builder
orchid-orm-schema-to-zod orchid-orm-schema-to-zod version npm i orchid-orm-schema-to-zod Validation
orchid-orm-valibot orchid-orm-valibot version npm i orchid-orm-valibot Validation
rake-db rake-db version npm i -D rake-db Migrations
orchid-orm-test-factory orchid-orm-test-factory version npm i -D orchid-orm-test-factory Factories

Contribution

See Contributing Guide.

License

MIT.