belatuk_rethinkdb 1.1.0 copy "belatuk_rethinkdb: ^1.1.0" to clipboard
belatuk_rethinkdb: ^1.1.0 copied to clipboard

A dart driver for connecting to RethinkDB, the open-source database for the realtime web

Belatuk RethinkDB #

A dart driver for connecting to RethinkDB, the open-source database for the realtime web. This driver is a fork of RethinkDB Driver with dependencies upgraded to support Dart 3.

Getting Started #

Installation #

dart pub add belatuk_rethinkdb

  • Or add to the pubspec.yaml file
dependencies:
  belatuk_rethinkdb: ^1.0.0
  • Import the package into your project:
import 'package:belatuk_rethinkdb/belatuk_rethinkdb.dart';

Example #

RethinkDb r = RethinkDb();

final connection = await r.connection(
  db: 'test',
  host: 'localhost',
  port: 28015,
  user: 'admin',
  password: '',
);

// Create table
await r.db('test').tableCreate('tv_shows').run(connection);

// Insert data
await r.table('tv_shows').insert([
      {'name': 'Star Trek TNG', 'episodes': 178},
      {'name': 'Battlestar Galactica', 'episodes': 75}
    ]).run(connection);

// Fetch data
var result = await r.table('tv_shows').get(1).run(connection);

References #

  • For more information about RethinkDB, please visit RethinkDB
  • For RethinkDB API documentation, please refer to RethinkDB API
1
likes
150
points
99
downloads

Publisher

verified publisherdukefirehawk.com

Weekly Downloads

A dart driver for connecting to RethinkDB, the open-source database for the realtime web

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

convert, crypto, fixnum, hashlib, protobuf

More

Packages that depend on belatuk_rethinkdb