Skip to content

Base Database Connection

Base parameters for connections to relational databases.


General Information:

Type ID Module Category
8 database database

BaseDbConnectionParams

Parameters:

  • host : str

Input Parameters:

Field Type Required Description Default value Examples
host str Host name or IP address of the database server ```` 200.00.25.547, devdb.com
port int Database server port 5432 5432
username str Username for authentication ```` user
password str Password for authentication ```` password
database str Name of the database to connect ```` mydb
use_ssl bool Whether to use SSL for the connection False False

Example:

{
  "host": "localhost",
  "port": 5432,
  "username": "user",
  "password": "password",
  "database": "mydb",
  "use_ssl": false
}

Notes:

This class inherits from pydantic.BaseModel, providing validation