Skip to content

edgeflare/pgxutil

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Go Reference Build Status

pgxutil

pgxutil is a collection of utilities for working with pgx. They are things I personally find useful and experiments that may eventually be incorporated into pgx.

It includes higher level functions such as Select, Insert, InsertReturning, Update, and UpdateReturning. It also includes *Row variants of these functions that require exactly one row to be selected or modified. Queue* variants work queue into a *pgx.Batch instead of directly executing the SQL.

It also includes interfaces Queryer, Execer, and DB. Queryer and Execer are satisfied by the Query and Exec methods respectively while DB is the common methods implemented by *pgx.Conn, *pgxpool.Pool, and pgx.Tx. These interfaces allow for more generic code that can work with any of these types.

Package Status

The API may change at any time or the package may be abandoned. It may be better to fork or copy the code into your own projects rather than directly depending on this package.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%