mirror of
https://github.com/jwetzell/showbridge-docs.git
synced 2026-05-14 05:24:21 +00:00
add docs for db and redis
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
---
|
||||
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
|
||||
|
||||
## Cap
|
||||
|
||||
### Example snippet
|
||||
Opens an in-memory SQLite database
|
||||
```
|
||||
- id: db
|
||||
type: db.sqlite
|
||||
params:
|
||||
dsn: ":memory:"
|
||||
```
|
||||
Reference in New Issue
Block a user