Skip to content

Releases: pocketbase/dbx

v1.10.1 Release

17 Aug 08:15
Compare
Choose a tag to compare
  • Call db.Close() on db.MustOpen() failure in order to cleanup any previously opened resources (#4; thanks @afriza).

v1.10.0 Release

23 Feb 09:58
Compare
Choose a tag to compare
  • 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

v1.9.0 Release

26 Jan 17:17
Compare
Choose a tag to compare
  • Updated the default logger to print blob/rawbytes params as hex (#2).

  • Added dbx.Enclose(dbx.Expression) to enclose preemptively a nonempty expression with parenthesis.

v1.8.0 Release

05 Dec 11:41
Compare
Choose a tag to compare
  • Added optional dbx.PostScanner interface, allowing to attach custom behavior after struct scan (for both One and All).

v1.7.0 Release

30 Oct 06:49
Compare
Choose a tag to compare
  • Added SelectQuery.Info() helper to export the current query fields (eg. from, where, groupBy, etc.) without building the sql expression.

v1.6.0 Release

01 Jul 10:05
Compare
Choose a tag to compare

This is the fork first release.

The fork includes: