db

package
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 20, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateDBPool

func CreateDBPool() *pgxpool.Pool

func GetColumnDetails

func GetColumnDetails(dbpool *pgxpool.Pool, tableName string) ([]types.ColumnDetails, error)

func GetTables

func GetTables(dbpool *pgxpool.Pool) ([]types.Table, error)

Types

type DBConfigError

type DBConfigError string

func (DBConfigError) Error

func (e DBConfigError) Error() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL