cassandart 0.1.2

  • Readme
  • Changelog
  • Installing
  • 68

Cassandra database client in Dart #

Under construction to implement wire protocol v4.

0.1.2 #

  • Updated to use Uint8List.

0.1.1 #

  • Added types: timestamp, timeuuid and counter.
  • Fixed a bug where it would crash on selecting and inserting a null field.
  • Updated to Dart 2.3 standards

0.1.0 #


    • PageRows implements Page<Row> from package:page.
    • CassandraClient.close removed, only CassandraPool needs it.
    • Renamed CassandraClient -> Client.
    • Renamed CassandraPool -> Cluster and updated connect.
    • Renamed DataClass -> RawType, DataType -> Type, TypedValue -> Value.
    • Renamed RowsPage -> ResultPage.
  • Query result pagination.

0.0.1 #

  • Basic client.

Use this package as a library

1. Depend on it

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

  cassandart: ^0.1.2

2. Install it

You can install packages from the command line:

with pub:

$ pub get

with Flutter:

$ flutter pub get

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

3. Import it

Now in your Dart code, you can use:

import 'package:cassandart/cassandart.dart';
Describes how popular the package is relative to other packages. [more]
Code health derived from static analysis. [more]
Reflects how tidy and up-to-date the package is. [more]
Weighted score of the above. [more]
Learn more about scoring.

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

  • Dart: 2.7.0
  • pana: 0.13.1+4

Health suggestions

Fix lib/src/frame_protocol.dart. (-0.50 points)

Analysis of lib/src/frame_protocol.dart reported 1 hint:

line 265 col 21: Avoid const keyword.

Maintenance suggestions

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 cassandart.dart. Packages with multiple examples should provide example/

For more information see the pub package layout conventions.


Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.3.0 <3.0.0
buffer ^1.0.0 1.0.6
meta ^1.0.0 1.1.8
page ^1.0.0 1.1.0
Dev dependencies
pedantic ^1.0.0
test ^1.0.0