Use this file to discover all available pages before exploring further.
A class for holding the properties of a database connection. The class is usually created in the pyconfigs/connections.py file.This class can be imported from the squirrels.connections or the squirrels module.
The URI for the connection. The URI format varies by database and connection type.For details on URI formats for each connection type, see URI formats.
# DuckDB native connectionduckdb_conn = ConnectionProperties( type=ConnectionTypeEnum.DUCKDB, uri="/path/to/database.duckdb", label="DuckDB database")# You can also connect to other databases using DuckDB# such as PostgreSQL, MySQL, and SQLite.postgres_conn = ConnectionProperties( type=ConnectionTypeEnum.DUCKDB, uri="postgresql://username@hostname/dbname", label="PostgreSQL database")sqlite_conn = ConnectionProperties( type=ConnectionTypeEnum.DUCKDB, uri="sqlite:/path/to/database.db", label="SQLite database")
# Fast data loading with ConnectorXcx_conn = ConnectionProperties( type=ConnectionTypeEnum.CONNECTORX, uri="postgresql://user:password@localhost:5432/mydb", label="Fast Loading Connection")