powersync library

PowerSync Dart SDK.

Use PowerSyncDatabase to open a database.

Classes

Column
A single column in a table schema.
CrudBatch
A batch of client-side changes.
CrudEntry
A single client-side change.
CrudTransaction
DevConnector
Connects to the PowerSync service in development mode.
DevCredentials
Credentials used to connect to the PowerSync dev API.
FasterCryptoRNG
Around 2x faster than CryptoRNG from package:uuid/rng.dart
Index
IndexedColumn
Describes an indexed column.
PowerSyncBackendConnector
Implement this to connect an app backend.
PowerSyncCredentials
Temporary credentials to connect to the PowerSync service.
PowerSyncDatabase
A PowerSync managed database.
PowerSyncOpenFactory
Schema
The schema used by the database.
SqliteConnectionSetup
Advanced: Define custom setup for each SQLite connection.
SyncStatus
Table
A single table in the schema.
UploadQueueStats
Stats of the local upload queue.

Constants

uuid → const Uuid
Uuid(goptions: GlobalOptions(FasterCryptoRNG()))

Enums

ColumnType
Type of column.
UpdateType
Type of local change.