mirror of
https://github.com/jwetzell/showbridge-docs.git
synced 2026-08-06 14:13:40 +00:00
27 lines
443 B
Plaintext
27 lines
443 B
Plaintext
---
|
|
title: SQLite
|
|
sidebar:
|
|
order: 1
|
|
---
|
|
|
|
The `db.sqlite` module can open/create SQLite databases
|
|
|
|
- **type**: `db.sqlite`
|
|
- **params**:
|
|
- **dsn**: the data source name, this can be a file path or the special `:memory:` name for an in-memory DB
|
|
|
|
This module implements the `DatabaseModule` interface.
|
|
|
|
## Cap
|
|
|
|
### Example snippet
|
|
|
|
Opens an in-memory SQLite database
|
|
|
|
```yaml
|
|
- id: db
|
|
type: db.sqlite
|
|
params:
|
|
dsn: ":memory:"
|
|
```
|