package
2.4.4
Repository: https://github.com/flachnetz/startup.git
Documentation: pkg.go.dev

# Functions

ContextWithoutTx returns a new transaction with any existing txContext masked.
Exec just execute the given statement in the provided transaction.
ExecAffected executes the given statement and returns the number of rows that were affected by the statement.
ExecNamed just execute the given statement in the provided transaction.
ExecNamedAffected executes the given statement and returns the number of rows that were affected by the statement.
FirstOrNil is similar to Get.
Get runs the given query and parses the result into an object of type T.
InAnyTransaction calls InAnyTransactionWithResult without returning a result.
InAnyTransactionWithResult checks the context for an existing transaction created by InNewTransactionWithResult.
InExistingTransaction calls InExistingTransactionWithResult without returning the error.
InExistingTransactionWithResult runs the given operation in the transaction that is hidden in the provided Context instance.
InNewTransaction calls InNewTransactionWithResult without returning a result.
InNewTransactionWithResult creates a new transaction and executes the given function within that transaction.
Iter returns a typed iterator over the rows of the given query.
No description provided by the author
No description provided by the author
Select scans the result into a slice of element type T using sqlx.SelectContext.
No description provided by the author
No description provided by the author
WithCancel is a wrapper around context.WithCancel.
WithDeadline is a wrapper around context.WithDeadline.
WithTimeout is a wrapper around context.WithTimeout.
WithValue is a wrapper around context.WithValue.

# Variables

No description provided by the author
No description provided by the author

# Structs

No description provided by the author

# Interfaces

No description provided by the author
Tx describes a simple transaction.
No description provided by the author
No description provided by the author

# Type aliases

An Action can be schedule to run after a commit or after a rollback of a transaction to execute some (infallible) side effects.
No description provided by the author