phorm 1.2.0 copy "phorm: ^1.2.0" to clipboard
phorm: ^1.2.0 copied to clipboard

PHORM — a lightweight, type-safe, driver-agnostic ORM for Dart and Flutter.

example/main.dart

// Examples print to the console for illustration only.
// ignore_for_file: avoid_print

import 'package:phorm/phorm.dart';

void main() {
  // Build a type-safe WHERE clause without writing raw SQL by hand.
  final where = WhereBuilder()
      .eq('is_active', true)
      .eq('role', 'admin');

  print('WHERE ${where.build()}');
  print('args:  ${where.args}');
}
1
likes
160
points
502
downloads
screenshot

Documentation

API reference

Publisher

verified publisherinterlib.dev

Weekly Downloads

PHORM — a lightweight, type-safe, driver-agnostic ORM for Dart and Flutter.

Homepage
Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

flutter, meta, phorm_annotations

More

Packages that depend on phorm