# Packages
No description provided by the author
# Functions
CommitIfShouldCommit commits a transaction if ShouldCommit returns true.
CreateConnection - creates a connection to the database.
CreateShouldCommitContext creates a context that a boolean flag - signifying whether downstream db functions should commit or not.
CreateTransactionContext creates a context that has a DB transaction inside it.
GetOrCreateTx retrieves a transaction from context, if existing, otherwise creates a new transaction.
GetQueries - returns the queries object.
GetTransaction creates a new transaction.
HandleRollback rolls back a transaction if a panic is recovered.
NumericToDecimal converts a pgtype.Numeric to a decimal.Decimal.
ShouldCommit checks whether a transaction should commit or not.
StringToNumeric converts a string to a pgtype.Numeric.
StringToUUID converts a string to a pgtype.UUID.
UUIDToString converts a pgtype.UUID to a string.