Prisma ・ Pub VersionGitHub license

Prisma (for Dart) is a next-generation ORM for Dart and Flutter.

  • Most Popular Databases: Prisma supports PostgreSQL, MySQL, MariaDB, SQL Server, SQLite, MongoDB and CockroachDB.
  • Type-safe: Prisma Client is a query builder that’s tailored to your schema. We designed its API to be intuitive, both for SQL veterans and developers brand new to databases. The auto-completion helps you figure out your query without the need for documentation.
  • Human-readable: Prisma schema is intuitive and lets you declare your database tables in a human-readable way β€” making your data modeling experience a delight. You define your models by hand or introspect them from an existing database.

πŸ‘‰ Learn how to use Prisma ORM for Dart in your project.

Instanciation

This will add a like this to you packages pubspec.yaml (and run an implicit dart pub get):

dependencies:
  orm: latest

Sponsors

Prisma ORM for Dart is an BSD-3 Clause licensed open source project with its ongoing development made possible entirely by the support of these awesome backers. If you'd like to join them, please consider sponsoring Odroe development.

sponsors

Documentation

You can find the Prisma ORM for Dart on the website.

The documentation is divided into the following sections:

You can improve it by sending pull requests to docs folder in the main branch.

Examples

You can also find them in the example folder in the main branch.

Query engine support matrix

Engine Dart Native Dart Web Flutter Native Flutter Web
Binary βœ… ❌ ❌ ❌
Library βœ… ❌ βœ… ❌
Data Proxy βœ… βœ… βœ… βœ…

The Library engine has not been supported yet. If you are Rust developer, you can help us by contributing to the Prisma Query Engine (C API).

Contributing

We welcome contributions! Please read our contributing guide to learn about our development process, how to propose bugfixes and improvements, and how to build and test your changes to Prisma.

Thank you to all the people who already contributed to Odroe!

Contributors

Code of Conduct

This project has adopted the Contributor Covenant Code of Conduct. For more information see the Code of Conduct FAQ or contact hello@odroe.com with any additional questions or comments.

Stay in touch