owl_sql 0.6.3

  • README.md
  • CHANGELOG.md
  • Installing
  • Versions
  • 49

Owl SQL code generator #

Source code generator for SQL CRUD (Postgresql).

Usage #

Changelog #

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:


dependencies:
  owl_sql: ^0.6.3

2. Install it

You can install packages from the command line:

with pub:


$ pub get

with Flutter:


$ flutter packages get

Alternatively, your editor might support pub get or flutter packages 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';
  
Version Uploaded Documentation Archive
0.6.3 Mar 28, 2019 Go to the documentation of owl_sql 0.6.3 Download owl_sql 0.6.3 archive
0.6.2 Jan 26, 2019 Go to the documentation of owl_sql 0.6.2 Download owl_sql 0.6.2 archive
0.6.1 Jan 13, 2019 Go to the documentation of owl_sql 0.6.1 Download owl_sql 0.6.1 archive
0.6.0 Jan 1, 2019 Go to the documentation of owl_sql 0.6.0 Download owl_sql 0.6.0 archive
Popularity:
Describes how popular the package is relative to other packages. [more]
2
Health:
Code health derived from static analysis. [more]
98
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
90
Overall:
Weighted score of the above. [more]
49
Learn more about scoring.

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

  • Dart: 2.2.0
  • pana: 0.12.14

Platforms

Detected platforms: Flutter, web, other

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

Health suggestions

Fix lib/postgres.dart. (-1.49 points)

Analysis of lib/postgres.dart reported 3 hints:

line 12 col 25: Use = to separate a named parameter from its default value.

line 13 col 14: Use = to separate a named parameter from its default value.

line 23 col 66: Use = to separate a named parameter from its default value.

Fix lib/owl_sql.dart. (-0.50 points)

Analysis of lib/owl_sql.dart reported 1 hint:

line 47 col 56: Use = to separate a named parameter from its default value.

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.

Dependencies

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