redstone_database_mongo 0.4.0

  • README.md
  • CHANGELOG.md
  • Installing
  • Versions
  • 63

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

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

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: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

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

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

  • completed on Feb 3, 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]
29 / 100
Health:
Code health derived from static analysis. [more]
99 / 100
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
93 / 100
Overall score:
Weighted score of the above. [more]
63

Platforms

Detected platforms: other

Platform components identified in package: io, mirrors.

Suggestions

  • Use constrained dependencies.

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

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

  • 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.31.0+1
args 1.3.0
async 1.13.3 2.0.3
barback 0.15.2+14
bson 0.2.0 0.3.0
charcode 1.1.1
cli_util 0.1.2+1
code_transformers 0.5.1+4
collection 1.14.5
convert 2.0.1
crypto 2.0.2+1
csslib 0.14.1
di 3.3.10
fixnum 0.10.6
front_end 0.1.0-alpha.8
glob 1.1.5
grinder 0.8.1
html 0.13.2+2
http 0.11.3+16
http_parser 3.1.1
http_server 0.9.7
isolate 1.1.0
kernel 0.3.0-alpha.5
logging 0.11.3+1
meta 1.1.2
mime 0.9.6
mongo_dart_query 0.2.2 0.3.0
more 1.8.1
package_config 1.0.3
path 1.5.1
plugin 0.2.0+2
pool 1.3.4
route_hierarchical 0.7.0
serializer 0.7.1
shelf 0.6.8 0.7.2
source_maps 0.10.4
source_span 1.4.0
stack_trace 1.9.1
stream_channel 1.6.3
string_scanner 1.0.2
typed_data 1.1.5
utf 0.9.0+4
uuid 0.5.3
watcher 0.9.7+7
yaml 2.1.13
Dev dependencies
test ^0.12.0