access 1.0.1+2

  • README.md
  • Installing
  • Versions
  • 69

Access

A simple database utility for the entity library.

Build Status

Use

access((DBAccess access) async {
  await for (final Row row in access.query('select ...')) {
    ...
  }
  ...
  await access.execute('update...');
})
//transactions ends here; roll back if an uncaught exception is thrown
.catchError((ex, st) {
  ...
});

Who Uses

  • Quire - a simple, collaborative, multi-level task management tool.
  • Keikai - a sophisticated spreadsheet for big data

Use this package as a library

1. Depend on it

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


dependencies:
  access: ^1.0.1+2

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:access/access.dart';
  
Version Uploaded Documentation Archive
1.0.1+2 Sep 12, 2018 Go to the documentation of access 1.0.1+2 Download access 1.0.1+2 archive
1.0.1 Aug 27, 2018 Go to the documentation of access 1.0.1 Download access 1.0.1 archive
1.0.0+1 Aug 27, 2018 Go to the documentation of access 1.0.0+1 Download access 1.0.0+1 archive
1.0.0 Aug 10, 2018 Go to the documentation of access 1.0.0 Download access 1.0.0 archive
0.11.3+2 Aug 7, 2018 Go to the documentation of access 0.11.3+2 Download access 0.11.3+2 archive
0.11.3+1 Jul 19, 2018 Go to the documentation of access 0.11.3+1 Download access 0.11.3+1 archive
0.11.3 Feb 9, 2018 Go to the documentation of access 0.11.3 Download access 0.11.3 archive
0.11.2 Jan 5, 2018 Go to the documentation of access 0.11.2 Download access 0.11.2 archive
0.11.1 Jan 5, 2018 Go to the documentation of access 0.11.1 Download access 0.11.1 archive
0.11.0 Sep 6, 2017 Go to the documentation of access 0.11.0 Download access 0.11.0 archive

All 62 versions...

Popularity:
Describes how popular the package is relative to other packages. [more]
58
Health:
Code health derived from static analysis. [more]
100
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
50
Overall:
Weighted score of the above. [more]
69
Learn more about scoring.

We analyzed this package on Dec 5, 2018, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.1.0
  • pana: 0.12.7

Platforms

Detected platforms: Flutter, other

Primary library: package:access/access.dart with components: io.

Health suggestions

Format lib/access.dart.

Run dartfmt to format lib/access.dart.

Format lib/dbtool.dart.

Run dartfmt to format lib/dbtool.dart.

Format lib/src/dbtool/dbtool_create.dart.

Run dartfmt to format lib/src/dbtool/dbtool_create.dart.

Format lib/src/dbtool/dbtool_purge.dart.

Run dartfmt to format lib/src/dbtool/dbtool_purge.dart.

Maintenance issues and suggestions

Maintain CHANGELOG.md. (-20 points)

Changelog entries help clients to follow the progress in your code.

Use constrained dependencies. (-20 points)

The pubspec.yaml contains 4 dependencies without version constraints. Specify version ranges for the following dependencies: entity, logging, postgresql2, rikulo_commons.

Maintain an example. (-10 points)

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 access.dart.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.0.0-dev <3.0.0
entity >=0.7.0 1.0.1
logging any 0.11.3+2
postgresql2 any 0.5.1+1
rikulo_commons >=2.0.0 3.1.0+1
Transitive dependencies
charcode 1.1.2
collection 1.14.11
convert 2.0.2
crypto 2.0.6
mime 0.9.6+2
typed_data 1.1.6
Dev dependencies
test any