All Versions
49
Latest Version
Avg Release Cycle
18 days
Latest Release
520 days ago
Changelog History
Page 5
Changelog History
Page 5
-
v0.2.12 Changes
June 29, 2021- ๐ Fixed scanners for net.IP and net.IPNet.
-
v0.2.10 Changes
June 29, 2021- ๐ Fixed pgdriver to format passed query args.
-
v0.2.9 Changes
June 27, 2021- โ Added support for prepared statements in pgdriver.
-
v0.2.7 Changes
June 26, 2021- โ Added
UpdateQuery.Bulk
helper to generate bulk-update queries.
Before:
models := []Model{ {42, "hello"}, {43, "world"}, } return db.NewUpdate(). With("_data", db.NewValues(&models)). Model(&models). Table("_data"). Set("model.str = _data.str"). Where("model.id = _data.id")
Now:
db.NewUpdate(). Model(&models). Bulk()
- โ Added
-
v0.2.5 Changes
June 25, 2021- ๐ Changed time.Time to always append zero time as
NULL
. - โ Added
db.RunInTx
helper.
- ๐ Changed time.Time to always append zero time as
-
v0.2.4 Changes
June 21, 2021- โ Added SSL support to pgdriver.
-
v0.2.3 Changes
June 20, 2021- Replaced
ForceDelete(ctx)
withForceDelete().Exec(ctx)
for soft deletes.
- Replaced
-
v0.2.1 Changes
June 17, 2021- Renamed
DBI
toIConn
.IConn
is a common interface for*sql.DB
,*sql.Conn
, and*sql.Tx
. - โ Added
IDB
.IDB
is a common interface for*bun.DB
,bun.Conn
, andbun.Tx
.
- Renamed
-
v0.2.0 Changes
June 16, 2021- ๐ Changed model hooks. See [model-hooks](example/model-hooks) example.
- ๐ Renamed
has-one
tobelongs-to
. Renamedbelongs-to
tohas-one
. Previously Bun used incorrect names for these relations.