Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConnectDB ¶
func ConnectDB(cfg *config.ConnectionConfig) (*sql.DB, error)
ConnectDB opens a database connection, pings it, and sets sensible defaults.
func FormatBytes ¶
FormatBytes converts bytes to a human-readable string (e.g., "12.5 MB")
func ListTablesQuery ¶
ListTablesQuery returns the appropriate SQL to list user tables for a DB type
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.