PowerSyncDatabase
A PowerSync database which provides SQLite functionality which is automatically synced.
Example
export const db = new PowerSyncDatabase({
schema: AppSchema,
database: {
dbFilename: 'example.db'
}
});
Extends
Constructors
new PowerSyncDatabase()
new PowerSyncDatabase(options): PowerSyncDatabase
Parameters
Parameter | Type |
---|---|
options | PowerSyncDatabaseOptionsWithDBAdapter |
Returns
Inherited from
AbstractPowerSyncDatabase
.constructor
new PowerSyncDatabase()
new PowerSyncDatabase(options): PowerSyncDatabase
Parameters
Parameter | Type |
---|---|
options | PowerSyncDatabaseOptionsWithOpenFactory |
Returns
Inherited from
AbstractPowerSyncDatabase
.constructor
new PowerSyncDatabase()
new PowerSyncDatabase(options): PowerSyncDatabase
Parameters
Parameter | Type |
---|---|
options | PowerSyncDatabaseOptionsWithSettings |
Returns
Inherited from
AbstractPowerSyncDatabase
.constructor
new PowerSyncDatabase()
new PowerSyncDatabase(options): PowerSyncDatabase
Parameters
Parameter | Type |
---|---|
options | PowerSyncDatabaseOptions |