db_executor 0.1.0+1

  • README.md
  • CHANGELOG.md
  • Installing
  • Versions
  • 42

Database query executor

A database query executor that controls the concurrency (number of concurrently running queries) and handles the acquiring and release of the connections (e.g. in case of processing failure).

Usage

TODO: write basic example

Changelog

0.1.0

  • version upgrades

Breaking changes

  • renamed limit to concurrency

1. Depend on it

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


dependencies:
  db_executor: "^0.1.0+1"

2. Install it

You can install packages from the command line:

with pub:


$ pub get

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

3. Import it

Now in your Dart code, you can use:


import 'package:db_executor/db_executor.dart';
        
Version Uploaded Documentation Archive
0.1.0+1 Sep 20, 2017 Go to the documentation of db_executor 0.1.0+1 Download db_executor 0.1.0+1 archive
0.1.0 Sep 19, 2017 Go to the documentation of db_executor 0.1.0 Download db_executor 0.1.0 archive
0.0.1 Jan 1, 2017 Go to the documentation of db_executor 0.0.1 Download db_executor 0.0.1 archive

Analysis

This feature is new.
We welcome feedback.
More details: scoring.

We analyzed this package, and provided a score, details, and suggestions below.

  • tool failures on Feb 10, 2018
  • Dart: 2.0.0-dev.20.0
  • pana: 0.10.1

Scores

Popularity:
Describes how popular the package is relative to other packages. [more]
14 / 100
Health:
Code health derived from static analysis. [more]
67 / 100
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
76 / 100
Overall score:
Weighted score of the above. [more]
42

Platforms

Detected platforms: unsure

Error(s) prevent platform classification.

Suggestions

  • Fix lib/postgresql.dart.

    Strong-mode analysis of lib/postgresql.dart failed with the following error:

    line: 7 col: 8
    Target of URI doesn't exist: 'package:postgresql/postgresql.dart'.

  • Fix platform conflicts.

    Make sure none of the libraries use mutually exclusive dependendencies.

  • Fix issues reported by dartanalyzer.

    dartanalyzer reported 1 error(s) and 0 warning(s).

  • Package is pre-v1 release.

    While there is nothing inherently wrong with versions of 0.*.*, it usually means that the author is still experimenting with the general direction API.

  • Maintain an example.

    Create a short demo in the example/ directory to show how to use this package. Common file name patterns include: main.dart, example.dart or you could also use db_executor.dart.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=1.0.0 <2.0.0
async >=1.0.0 <3.0.0 2.0.3 2.0.4
executor >=1.0.0 <1.1.0 1.0.0
Transitive dependencies
collection 1.14.5
Dev dependencies
postgresql >=0.3.0 <0.4.0