# Functions

IsDeadlock returns true if the given error indicates that we found a deadlock.
IsDup returns true if the given error indicates that we found a duplicate record.
IsNotFound returns true if the given error indicates that a record could not be found.
Run runs fn with the given database connection.
RunInTx runs fn in a database transaction.
RunInTxWithRetry is like RunInTx but will retry several times with exponential backoff.
RunInTxWithRetryBackoff is like RunInTxWithRetry but with configurable backoff.
No description provided by the author
RunWithRetryBackoff is like RunWithRetry but with configurable backoff.