7f5ffdb20fd1f93b099a271b0f66d2d5f1e1130a — Martin Angers 3 years ago a7b47e4 v0.1.3-1
Add release_connection documentation
1 files changed, 6 insertions(+), 1 deletions(-)

M pkg.database.md
M pkg.database.md => pkg.database.md +6 -1
@@ 15,7 15,12 @@ called, executing all registered migrations.
  and calling conn:close returns it to the pool if possible.
  The fields are max\_idle, max\_open, idle\_timeout and
  life\_timeout. Defaults are respectively 2, 0 (unlimited),
  0 (no timeout) and 0 (no timeout).
  0 (no timeout) and 0 (no timeout). A release\_connection field
  can also be set to a function, and it will be called prior to
  return a connection to the pool. It can be used to e.g. reset
  session settings, rollback any pending transaction, or release
  any locks. It receives the connection instance and the app
  instance as arguments.

# API Extensions