Type Alias: CreateOnDiskDbKeyAccessorOptions
CreateOnDiskDbKeyAccessorOptions =
object
Properties
connect()
connect: (
options?) =>DbKey
DbManager.connect (or compatible) from the owning DB package.
Parameters
| Parameter | Type |
|---|---|
options? | DbOptions |
Returns
dataDir?
optionaldataDir:string| () =>string
Absolute data directory. Defaults to <dirname(packageUrl)>/data. Use a function when the root can change (tests / seal data mounts).
filePrefix
filePrefix:
string
Filename stem before -${DEPLOYMENT_NAME}.sqlite (e.g. "cron-db" → cron-db-development.sqlite).
packageUrl
packageUrl:
string
Calling module's import.meta.url (or any file URL under the package).