DatabaseSync

constructor(location: String, options: DatabaseSyncOptions = definedExternally)(source)

Constructs a new DatabaseSync instance.

Parameters

location

The location of the database. A SQLite database can be stored in a file or completely in memory. To use a file-backed database, the location should be a file path. To use an in-memory database, the location should be the special name ':memory:'.

options

Configuration options for the database connection.