synclayer_sqlite 1.0.0 copy "synclayer_sqlite: ^1.0.0" to clipboard
synclayer_sqlite: ^1.0.0 copied to clipboard

discontinuedreplaced by: synclayer

SQLite adapter for SyncLayer - enables offline-first sync with SQLite database.

synclayer_sqlite #

SQLite adapter for SyncLayer.

Installation #

dependencies:
  synclayer: ^1.4.1
  synclayer_sqlite: ^1.0.0

Usage #

import 'package:synclayer/synclayer.dart';
import 'package:synclayer_sqlite/synclayer_sqlite.dart';
import 'package:sqflite/sqflite.dart';

final db = await openDatabase('sync_backend.db');

await SyncLayer.init(
  SyncConfig(
    customBackendAdapter: SQLiteAdapter(database: db),
    collections: ['todos'],
  ),
);

License #

MIT License

0
likes
140
points
48
downloads

Publisher

verified publisherhostspica.com

Weekly Downloads

SQLite adapter for SyncLayer - enables offline-first sync with SQLite database.

Documentation

API reference

License

MIT (license)

Dependencies

flutter, sqflite, synclayer

More

Packages that depend on synclayer_sqlite