entity 1.5.0

  • README.md
  • Installing
  • Versions
  • 69

Entity #

A very simple ORM for relational, NoSQL database, and simple maps. It is designed to work on browsers, so it doesn't use mirrors or annotations.

Build Status

Who Uses #

  • Quire - a simple, collaborative, multi-level task management tool.

Use this package as a library

1. Depend on it

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


dependencies:
  entity: ^1.5.0

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:entity/entity.dart';
  
Version Uploaded Documentation Archive
1.5.0 Jan 9, 2019 Go to the documentation of entity 1.5.0 Download entity 1.5.0 archive
1.1.1 Jan 8, 2019 Go to the documentation of entity 1.1.1 Download entity 1.1.1 archive
1.1.0 Dec 28, 2018 Go to the documentation of entity 1.1.0 Download entity 1.1.0 archive
1.0.1 Oct 15, 2018 Go to the documentation of entity 1.0.1 Download entity 1.0.1 archive
1.0.0 Aug 9, 2018 Go to the documentation of entity 1.0.0 Download entity 1.0.0 archive
0.9.3+4 Mar 26, 2018 Go to the documentation of entity 0.9.3+4 Download entity 0.9.3+4 archive
0.9.3+3 Jan 11, 2018 Go to the documentation of entity 0.9.3+3 Download entity 0.9.3+3 archive
0.9.3+2 Mar 17, 2017 Go to the documentation of entity 0.9.3+2 Download entity 0.9.3+2 archive
0.9.3 Mar 13, 2017 Go to the documentation of entity 0.9.3 Download entity 0.9.3 archive
0.9.2 Mar 13, 2017 Go to the documentation of entity 0.9.2 Download entity 0.9.2 archive

All 40 versions...

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

We analyzed this package on Apr 25, 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:entity/entity.dart.

Health suggestions

Fix lib/src/entity/entity_access.dart. (-11.78 points)

Analysis of lib/src/entity/entity_access.dart reported 25 hints, including:

line 6 col 1: Prefer using /// for doc comments.

line 15 col 3: Prefer using /// for doc comments.

line 23 col 3: Prefer using /// for doc comments.

line 26 col 3: Prefer using /// for doc comments.

line 30 col 3: Prefer using /// for doc comments.

Fix lib/src/entity/entity_core.dart. (-8.63 points)

Analysis of lib/src/entity/entity_core.dart reported 18 hints, including:

line 6 col 1: Prefer using /// for doc comments.

line 10 col 1: Prefer using /// for doc comments.

line 15 col 1: Prefer using /// for doc comments.

line 18 col 3: Prefer using /// for doc comments.

line 26 col 3: Prefer using /// for doc comments.

Fix lib/src/postgresql/postgresql.dart. (-3.45 points)

Analysis of lib/src/postgresql/postgresql.dart reported 7 hints, including:

line 6 col 1: Prefer using /// for doc comments.

line 16 col 3: Prefer using /// for doc comments.

line 20 col 53: Use = to separate a named parameter from its default value.

line 53 col 3: Prefer using /// for doc comments.

line 59 col 3: Prefer using /// for doc comments.

Fix additional 3 files with analysis or formatting issues. (-3.48 points)

Additional issues in the following files:

  • lib/oid.dart (4 hints)
  • lib/map_storage.dart (3 hints)
  • lib/entity.dart (Run dartfmt to format lib/entity.dart.)

Maintenance issues and suggestions

Provide a file named CHANGELOG.md. (-20 points)

Changelog entries help developers follow the progress of your package. See the example generated by stagehand.

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 entity.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
charcode >=1.0.0 <2.0.0 1.1.2
postgresql2 >=0.5.0 <2.0.0 0.5.1+1
rikulo_commons >=3.0.0 <4.0.0 3.1.3
Transitive dependencies
collection 1.14.11
convert 2.1.1
crypto 2.0.6
logging 0.11.3+2
mime 0.9.6+2
typed_data 1.1.6
Dev dependencies
test any