Releases: pocketbase/dbx
Releases · pocketbase/dbx
v1.10.1 Release
v1.10.0 Release
-
Added
dbx.Query
anddbx.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
-
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
- Added optional
dbx.PostScanner
interface, allowing to attach custom behavior after struct scan (for bothOne
andAll
).
v1.7.0 Release
- Added
SelectQuery.Info()
helper to export the current query fields (eg.from
,where
,groupBy
, etc.) without building the sql expression.