Skip to content

v1.10.0 Release

Choose a tag to compare

@ganigeorgiev ganigeorgiev released this 23 Feb 09:58
· 6 commits to master since this release
  • Added dbx.Query and dbx.SelectQuery hooks to allow composed app level fail/retry or any other custom query handling.

    func (q *Query) WithExecHook(fn ExecHookFunc) *Query
    func (q *Query) WithOneHook(fn OneHookFunc) *Query
    func (q *Query) WithAllHook(fn AllHookFunc) *Query
    func (q *SelectQuery) WithBuildHook(fn BuildHookFunc) *SelectQuery