add_connection
Add a new Valkey or Redis connection to BetterDB. Optionally set it as the active default connection.
Instructions
Add a new Valkey/Redis connection to BetterDB. Optionally set it as the active default.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | Hostname or IP address | |
| name | Yes | Display name for the connection | |
| port | No | Port number | |
| password | No | Auth password | |
| username | No | ACL username (default: "default") | |
| setAsDefault | No | Set this connection as the active default |