rpc_data_postgres 2.2.0 copy "rpc_data_postgres: ^2.2.0" to clipboard
rpc_data_postgres: ^2.2.0 copied to clipboard

PostgreSQL adapter and repository for rpc_data — CRUD, querying and change streams over a Postgres database.

rpc_data_postgres #

PostgreSQL adapter and repository for rpc_data. Stores collections as JSONB tables with optimistic concurrency, index management, and schema registry support.

import 'package:postgres/postgres.dart';
import 'package:rpc_data_postgres/rpc_data_postgres.dart';

Future<void> main() async {
  final adapter = await PostgresDataStorageAdapter.connect(
    endpoint: Endpoint(host: 'localhost', database: 'app', username: 'app'),
  );
  final repo = PostgresDataRepository(storage: adapter);
  // ...
  await repo.dispose();
}
0
likes
150
points
377
downloads

Documentation

API reference

Publisher

verified publisherrpc.nogipx.dev

Weekly Downloads

PostgreSQL adapter and repository for rpc_data — CRUD, querying and change streams over a Postgres database.

Homepage
Repository (GitHub)
View/report issues

Topics

#rpc #database #postgresql

License

MIT (license)

Dependencies

postgres, rpc_data

More

Packages that depend on rpc_data_postgres