repository

package
v0.0.0-...-3122bcc Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetLastValSeq

func GetLastValSeq(ctx context.Context, tx pgx.Tx,
	logger *mylogger.MyLogger, nameTable pgx.Identifier,
) (uint64, error)

GetLastValSeq returns id of last record not at all, because sequence auto increment even if unsuccessful insert in table

func NewPgxPool

func NewPgxPool(ctx context.Context, urlDataBase string) (*pgxpool.Pool, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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