pocketsync_flutter library

Classes

Database
Database to send sql commands, created during openDatabase
DatabaseOptions
Configuration options for the database.
DatabaseSchema
Represents a schema for a database.
Index
Represents an index on a database table.
PocketSync
The main entry point for PocketSync.
PocketSyncDatabase
A database instance that extends DatabaseExecutor and provides additional functionality for PocketSync.
PocketSyncOptions
Configuration options for PocketSync.
SyncChange
Represents a single change to be synchronized with the server.
SyncChangeBatch
Represents a batch of changes to be synchronized with the server.
TableColumn
Represents a column in a database table.
TableReference
Represents a reference to another table and column.
TableSchema
Represents a schema for a database table.

Enums

ColumnType
Represents the type of a database column.
ConflictAlgorithm
Insert/Update conflict resolver
ConflictResolutionStrategy

Constants

inMemoryDatabasePath → const String
Special database name opened in memory

Functions

getDatabasesPath() Future<String>
Get the default databases location.

Typedefs

ConflictResolver = Future<SyncChange> Function(SyncChange localChange, SyncChange remoteChange)