Skip to main content

SQLOpenOptions

Properties

PropertyTypeDescription
dbFilenamestringFilename for the database.
dbLocation?stringDirectory where the database file is located. When set, the directory must exist when the database is opened, it will not be created automatically.
debugMode?booleanEnable debugMode to log queries to the performance timeline. Defaults to false. To enable in development builds, use: debugMode: process.env.NODE_ENV !== 'production'