Documentation ¶
Index ¶
- func CreateDBPool() *pgxpool.Pool
- func GetColumnDetails(dbpool *pgxpool.Pool, tableName string) ([]types.ColumnDetails, error)
- func GetTableConstraints(dbpool *pgxpool.Pool, tableName string) ([]types.TableConstraint, error)
- func GetTables(dbpool *pgxpool.Pool) ([]types.Table, error)
- type DBConfigError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateDBPool ¶
func GetColumnDetails ¶
func GetTableConstraints ¶ added in v0.3.0
Types ¶
type DBConfigError ¶
type DBConfigError string
func (DBConfigError) Error ¶
func (e DBConfigError) Error() string
Click to show internal directories.
Click to hide internal directories.