Skip to main content

DATABASE ACCESS FOR DART

Start with the database. Add types when your domain is ready.

Ormed lets Dart apps connect, query, and migrate without ceremony. Begin with direct access, then add generated models, repositories, and typed queries as your application grows.

Dart 3.12+SQLite · PostgreSQL · MySQL · D1MIT licensed
lib/database.dartREADY
final db = await SqliteDatabase.connect(
path: 'database/app.sqlite',
);

final users = await db
.table('users')
.whereEquals('active', true)
.get();
works without generated coderows returned

WHY ORMED

Keep the database visible. Use generated code where it removes repetition.

Typed where it helps

Generated models, repositories, relations, and codecs give domain code useful contracts without hiding the database.

Direct when it matters

Use table queries, raw SQL, schema plans, and transactions when a model would add ceremony.

Traceable in production

Structured events and ordered interceptors make database behavior visible in logs and traces.

READY TO START

Begin with one connection. Grow from there.

Choose your path