Skip to main content

RNQSPowerSyncDatabaseOpenFactory

Extends

Constructors

new RNQSPowerSyncDatabaseOpenFactory(options)

new RNQSPowerSyncDatabaseOpenFactory(options): RNQSPowerSyncDatabaseOpenFactory

Parameters

ParameterType
optionsPowerSyncOpenFactoryOptions

Returns

RNQSPowerSyncDatabaseOpenFactory

Overrides

AbstractPowerSyncDatabaseOpenFactory.constructor

Source

react-native/src/db/adapters/react-native-quick-sqlite/RNQSDBOpenFactory.ts:16

Properties

PropertyModifierTypeInherited from
instanceGeneratedprotectedboolean-
optionsprotectedPowerSyncOpenFactoryOptionsAbstractPowerSyncDatabaseOpenFactory.options

Accessors

schema

get schema(): Schema< object >

Schema used for the local database.

Returns

Schema< object >

Source

common/lib/client/AbstractPowerSyncOpenFactory.d.ts:22

Methods

generateInstance()

generateInstance(options): AbstractPowerSyncDatabase

Parameters

ParameterType
optionsPowerSyncDatabaseOptions

Returns

AbstractPowerSyncDatabase

Overrides

AbstractPowerSyncDatabaseOpenFactory.generateInstance

Source

react-native/src/db/adapters/react-native-quick-sqlite/RNQSDBOpenFactory.ts:47


generateOptions()

generateOptions(): PowerSyncDatabaseOptions

Returns

PowerSyncDatabaseOptions

Inherited from

AbstractPowerSyncDatabaseOpenFactory.generateOptions

Source

common/lib/client/AbstractPowerSyncOpenFactory.d.ts:26


getInstance()

getInstance(): AbstractPowerSyncDatabase

Returns

AbstractPowerSyncDatabase

Inherited from

AbstractPowerSyncDatabaseOpenFactory.getInstance

Source

common/lib/client/AbstractPowerSyncOpenFactory.d.ts:28


openDB()

protected openDB(): DBAdapter

Returns

DBAdapter

Overrides

AbstractPowerSyncDatabaseOpenFactory.openDB

Source

react-native/src/db/adapters/react-native-quick-sqlite/RNQSDBOpenFactory.ts:20