Prisma γ»
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
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 themain
branch.
Examples
We have several examples on the website, 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.
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
Buy us a coffee
If you like Prisma ORM for Dart, you can buy us a coffee: