redstone_database_mongo 0.4.0

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

redstone_database_mongo

Build Status Pub version

redstone_database_mongo is a fork of redstone_mapper_mongo.

See examples/server_example.dart for usage.

Changelog

0.4.0

  • Update to redstone_database_plugin 0.3.0

0.3.0

  • Add getLastError method
  • Possible encoding shortcut by passing 'null' as Type

0.2.0

  • Update to serializer 0.5.0

Breaking changes:

  • Use serializer_codegen for serialization
  • Use a fork of redstone with updated DI

0.1.4

  • Set serializer as private into MongoDb

0.1.3+1

  • Remove cast on object for save, insert and insertAll (could be a Map)

0.1.3

  • Align with serializer version 0.4.2
  • Add dynamic serialization

0.1.2+1

  • Updated object can be Map or ModifierBuilder, not only Serializable object

0.1.2

  • Add closeConnections in MongoDbManager
  • Add optional writeConcern parameter in MongoDbManager
  • Add optional writeConcern parameter in MongoDBService and its atomic operations

0.1.1

  • Implement partial update (using '$set')

0.1.0

  • Initial version

Use this package as a library

1. Depend on it

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


dependencies:
  redstone_database_mongo: "^0.4.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:redstone_database_mongo/driver.dart';

      import 'package:redstone_database_mongo/manager.dart';

      import 'package:redstone_database_mongo/service.dart';
  
Version Uploaded Documentation Archive
0.4.0 Jan 27, 2017 Go to the documentation of redstone_database_mongo 0.4.0 Download redstone_database_mongo 0.4.0 archive
0.3.0 Jan 22, 2017 Go to the documentation of redstone_database_mongo 0.3.0 Download redstone_database_mongo 0.3.0 archive
0.2.0 Nov 1, 2016 Go to the documentation of redstone_database_mongo 0.2.0 Download redstone_database_mongo 0.2.0 archive
0.1.4 Sep 5, 2016 Go to the documentation of redstone_database_mongo 0.1.4 Download redstone_database_mongo 0.1.4 archive
0.1.3+1 Aug 18, 2016 Go to the documentation of redstone_database_mongo 0.1.3+1 Download redstone_database_mongo 0.1.3+1 archive
0.1.3 Aug 14, 2016 Go to the documentation of redstone_database_mongo 0.1.3 Download redstone_database_mongo 0.1.3 archive
0.1.2+1 Aug 2, 2016 Go to the documentation of redstone_database_mongo 0.1.2+1 Download redstone_database_mongo 0.1.2+1 archive
0.1.2 Jul 31, 2016 Go to the documentation of redstone_database_mongo 0.1.2 Download redstone_database_mongo 0.1.2 archive
0.1.1 Jul 26, 2016 Go to the documentation of redstone_database_mongo 0.1.1 Download redstone_database_mongo 0.1.1 archive
0.1.0 Jul 22, 2016 Go to the documentation of redstone_database_mongo 0.1.0 Download redstone_database_mongo 0.1.0 archive

Analysis

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

  • Dart: 2.0.0-dev.63.0
  • pana: 0.11.3

Scores

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

Platforms

Detected platforms: Flutter, web, other

No platform restriction found in libraries.

Suggestions

  • Use constrained dependencies.

    The pubspec.yaml contains 1 dependency without version constraints. Specify version ranges for the following dependencies: redstone.

  • Package is getting outdated.

    The package was released 72 weeks ago.

  • The description is too short.

    Add more detail about the package, what it does and what is its target use case. Try to write at least 60 characters.

  • 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.

  • Fix analysis and formatting issues.

    Analysis or formatting checks reported 3 hints.

    Run dartfmt to format lib/driver.dart.

    Run dartfmt to format lib/manager.dart.

    Similar analysis of the following files failed:

    • lib/service.dart (hint)
  • Maintain an example.

    None of the files in your example/ directory matches a known example patterns. Common file name patterns include: main.dart, example.dart or you could also use redstone_database_mongo.dart.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=1.8.0 <2.0.0
connection_pool ^0.1.1 0.1.2
mongo_dart ^0.2.9 0.2.10 0.3.1
redstone 0.6.7
redstone_database_plugin ^0.3.0 0.3.1
Transitive dependencies
analyzer 0.32.1
args 1.4.3
async 1.13.3 2.0.7
barback 0.15.2+16
bson 0.2.0 0.3.1
charcode 1.1.1
cli_util 0.1.3
code_transformers 0.5.1+5
collection 1.14.10
convert 2.0.1
crypto 2.0.5
csslib 0.14.4
di 3.3.10
fixnum 0.10.7
front_end 0.1.1
glob 1.1.5
grinder 0.8.2
html 0.13.3+1
http 0.11.3+16
http_parser 3.1.2
http_server 0.9.7
kernel 0.3.1
logging 0.11.3+1
meta 1.1.5
mime 0.9.6+1
mongo_dart_query 0.2.2 0.3.0
more 1.9.0
package_config 1.0.3
path 1.6.1
plugin 0.2.0+2
pool 1.3.5
route_hierarchical 0.7.0
serializer 0.7.1
shelf 0.6.8 0.7.3+1
source_maps 0.10.5
source_span 1.4.0
stack_trace 1.9.2
stream_channel 1.6.7+1
string_scanner 1.0.2
typed_data 1.1.5
utf 0.9.0+4
uuid 0.5.3 1.0.0
watcher 0.9.7+8
yaml 2.1.14
Dev dependencies
test ^0.12.0