rockvole_db_replicator 3.0.0 copy "rockvole_db_replicator: ^3.0.0" to clipboard
rockvole_db_replicator: ^3.0.0 copied to clipboard

Rockvole database replicator

rockvole_db_replicator #

A database library which provides you with CRUD methods to access your database. This library will create additional transaction tables. These transaction tables can be used to replay your database transactions on other servers or phones, thus replicating the database remotely.

To see an example of this - see the rockvole_replicator_todo demonstration android app.

Usage #

A simple usage example:

import 'package:rockvole_db_replicator/rockvole_db.dart';

main() async {
  TaskDao taskDao = TaskDao(smd, remoteTransaction);
  await taskDao.init();
  try {
    await taskDao.updateTask(1, 'new description', false);
  } on SqlException catch (e) {
    print(e);
  }
}
0
likes
60
points
1
downloads

Publisher

unverified uploader

Weekly Downloads

Rockvole database replicator

Documentation

API reference

License

MS-PL (license)

Dependencies

adler32, crypto, csv, http, intl, meta, mysql1, pointycastle, sqlite3, yaml

More

Packages that depend on rockvole_db_replicator