orm 4.0.3 copy "orm: ^4.0.3" to clipboard
orm: ^4.0.3 copied to clipboard

Next-generation ORM for Dart & Flutter | PostgreSQL, MySQL, MariaDB, SQL Server, SQLite, MongoDB and CockroachDB.

Prisma Client Dart #

Pub Version GitHub License Docs website GitHub Sponsors Open Collective sponsors X (formerly Twitter) Follow Discord

Prisma Client Dart is an auto-generated type-safe ORM. It uses Prisma Engine as the data access layer and is as consistent as possible with the Prisma Prisma Client JS/TS APIs.

👉 Learn how to use Prisma ORM for Dart in your project.

import 'package:orm/orm.dart';

final client = PrismaClient();

main() {
  final users = await client.user.findMany();
}

Tip

Prisma Client Dart is an open source project developed and maintained by Seven Du, which allows you to use Prisma ORM in the Dart language. Prisma is Next-generation Node.js and TypeScript ORM.

If your back-end project uses Node.js or Bun.js, it is highly recommended that you take a look 👉 Prisma ORM Official

Other language implementations in community 👉 Prisma Ecosystem.

Installation #

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

dependencies:
  orm: latest

Or you can run the following command:

dart pub add orm

Sponsors #

Prisma Client 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 Seven(@medz) or Odroe on GitHub.

sponsors

Documentation #

You can find the Prisma Client 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

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.

213
likes
0
pub points
88%
popularity

Publisher

verified publisherodroe.dev

Next-generation ORM for Dart & Flutter | PostgreSQL, MySQL, MariaDB, SQL Server, SQLite, MongoDB and CockroachDB.

Homepage
Repository (GitHub)
View/report issues

Funding

Consider supporting this project:

github.com
opencollective.com
www.patreon.com

License

unknown (license)

Dependencies

code_builder, dart_style, decimal, json_rpc_2, logging, path, recase, retry, stream_channel, webfetch

More

Packages that depend on orm