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

SQLite/SQLCipher adapter and repository for rpc_data (IO + WebAssembly).

rpc_data_sqlite #

SQLite/SQLCipher adapter and repository for rpc_data. Includes cross-platform connection helpers (IO + WebAssembly), change journal, schema registry, FTS/index helpers, and SQLCipher loader hooks.

import 'package:rpc_data_sqlite/rpc_data_sqlite.dart';

Future<void> main() async {
  final connection = await openFileDb(
    options: const SqliteConnectionOptions(nativeFileName: 'app.sqlite'),
  );
  final storage = SqliteDataStorageAdapter.connection(connection);
  await storage.ensureReady();

  final repo = SqliteDataRepository(storage: storage);
  final env = await DataServiceFactory.inMemory(repository: repo);
  // ...
  await env.dispose();
  await connection.close();
}
0
likes
140
points
264
downloads

Documentation

API reference

Publisher

verified publisherrpc.nogipx.dev

Weekly Downloads

SQLite/SQLCipher adapter and repository for rpc_data (IO + WebAssembly).

Homepage
Repository (GitHub)
View/report issues

Topics

#rpc #database #sqlite

License

MIT (license)

Dependencies

meta, paseto_dart, path, rpc_dart, rpc_data, sqlite3

More

Packages that depend on rpc_data_sqlite