owl_sql 0.7.0

  • Readme
  • Changelog
  • Installing
  • 56

Owl SQL code generator #

Source code generator for SQL CRUD (Postgresql).

Usage #

Changelog #

0.7.0 #

Breaking changes:

  • Dart 2.2 compatible code (incl. using the optional new initialization).
  • ${table.type}ConnectionFn removed
  • Table.paginate uses PostgreSQLExecutionContext (e.g. Connection or a pooling proxy).


  • Import package with prefixes.
  • Additional mutable (non-database) fields for Row objects.

0.6.3 #

  • Support limit with *Table.updateAll.

0.6.2 #

  • Support limit with *Table.deleteAll.

0.6.1 #

  • Support for SMALLINT column.

0.6.0 #

  • Complete rewrite of the SQL parts from owl/owl_codegen (0.4)

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:

  owl_sql: ^0.7.0

2. Install it

You can install packages from the command line:

with pub:

$ pub get

with Flutter:

$ flutter pub get

Alternatively, your editor might support pub get or flutter pub get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:

import 'package:owl_sql/owl_sql.dart';
Describes how popular the package is relative to other packages. [more]
Code health derived from static analysis. [more]
Reflects how tidy and up-to-date the package is. [more]
Weighted score of the above. [more]
Learn more about scoring.

We analyzed this package on Oct 16, 2019, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.5.1
  • pana: 0.12.21


Detected platforms: Flutter, web, other

No platform restriction found in primary library package:owl_sql/owl_sql.dart.

Maintenance suggestions

Maintain an example. (-10 points)

Create a short demo in the example/ directory to show how to use this package.

Common filename patterns include main.dart, example.dart, and owl_sql.dart. Packages with multiple examples should provide example/README.md.

For more information see the pub package layout conventions.


Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.2.0 <3.0.0
Dev dependencies
meta ^1.0.0
page ^1.0.0
pedantic ^1.0.0
postgres ^1.0.0
test ^1.0.0