postgres

package
v1.1.16 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2023 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConnectToFmsDB

func ConnectToFmsDB(databaseURL string) (*pgxpool.Pool, error)

Types

type FMSDataBase

type FMSDataBase struct {
	// contains filtered or unexported fields
}

func NewFmsDataBase

func NewFmsDataBase(rawConn *pgxpool.Pool) *FMSDataBase

func (*FMSDataBase) GetPgConn

func (adb *FMSDataBase) GetPgConn() *pgxpool.Pool

func (*FMSDataBase) GetSQLBuilder

func (adb *FMSDataBase) GetSQLBuilder() sqlmaker.StatementBuilderType

type FMSDataBaseConn

type FMSDataBaseConn interface {
	GetPgConn() *pgxpool.Pool
	GetSQLBuilder() sqlmaker.StatementBuilderType
}

Jump to

Keyboard shortcuts

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