Tags: SychevSP/slonik
Tags
feat: change query retry handling (gajus#308) Move transaction retry handling to the transaction and nestedTransaction methods and change it so that the handler function is called again instead of just replaying the queries that are part of the transaction. Fixes gajus#163. Add a second parameter to the transaction method to allow users to define a retry limit per transaction. If a retry limit is given for a transaction then the global defined retry limit for transactions is ignored. Change executeQuery so that it retries individual queries that failed with a transaction rollback error. Only queries that are not part of a transaction are retried. The number of times a query is retried is specified by the global queryRetryLimit configuration. Fixes gajus#176. The above change also fixes gajus#196 since the transactionQueries array no longer exists. BREAKING CHANGE: changes query / transaction retry strategy
feat: sql.identifier-like column types for sql.unnest (gajus#296) * feat: sql.identifier-like column types for sql.unnest allows passing user defined pg types located in custom pg schema * test: add test on sql.identifier-like column types * docs: update README.md Co-authored-by: hoonoh <[email protected]>
PreviousNext