DatabaseSync

constructor(path: String, options: DatabaseSyncOptions = definedExternally)(source)
constructor(path: Buffer<*>, options: DatabaseSyncOptions = definedExternally)(source)
constructor(path: ERROR CLASS: Symbol not found for URL, options: DatabaseSyncOptions = definedExternally)(source)

Constructs a new DatabaseSync instance.

Parameters

path

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

options

Configuration options for the database connection.