Skip to content

Tags: go-gorm/gorm

Tags

v1.31.0

Toggle v1.31.0's commit message
Remove unnecessary OpCreateValue mode

v1.30.5

Toggle v1.30.5's commit message
Set accepts Assigner for Generics API

v1.30.4

Toggle v1.30.4's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Add Set-based Create and Update support to Generics API (#7578)

v1.30.3

Toggle v1.30.3's commit message
fix(generics): resolve CurrentTable in Raw/Exec

v1.30.2

Toggle v1.30.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
avoid copying structures with embedded mutexs (#7571)

Fixes warning like this:

assignment copies lock value to relationships:
gorm.io/gorm/schema.Relationships contains sync.RWMutex

v1.30.1

Toggle v1.30.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
optimize: field.ReflectValueOf (#7530)

v1.30.0

Toggle v1.30.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Implement Generics API (#7424)

* Implement Generics API

* Add more generics tests

* Add more tests and Take method

* use delayed‑ops pipeline for generics API

* fix generics tests for mysql

* Support SubQuery for Generics

* Add clause.JoinTable helper method

* Fix golangci-lint error

* Complete the design and implementation of generic version Join

* improve generics version Joins support

* allow configuring select/omit columns for joins via subqueries

* finish generic version Preload

* handle error of generics Joins/Preload

* fix tests

* Add LimitPerRecord for generic version Preload

* fix tests for mysql 5.7

* test for nested generic version Join/Preload

* Add WithResult support for generics API

* test reuse generics db conditions

* fix data race

* remove ExampleLRU test

* Add default transaction timeout support

* fix test

v1.26.1

Toggle v1.26.1's commit message
remove unnecessary session-level configuration for prepared statements

v1.26.0

Toggle v1.26.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Preparestmt use LRU Map instead default map (#7435)

* 支持lru淘汰preparestmt cache

* 支持lru淘汰preparestmt cache

* 支持lru淘汰preparestmt cache

* 只使用lru

* 只使用lru

* 只使用lru

* 只使用lru

* 只使用lru

* 只使用lru

* 只使用lru

* 只使用lru

* 只使用lru

* change const export

* Add stmt_store

* refact prepare stmt store

* Rename lru store

* change const export

* ADD UT

* format code and add session level prepare stmt config

* code format according to golinter ci

* ADD UT

---------

Co-authored-by: xiezhaodong <xiezhaodong@bytedance.com>
Co-authored-by: Jinzhu <wosmvp@gmail.com>

v1.25.12

Toggle v1.25.12's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix: AfterQuery using safer right trim while clearing from clause's j…

…oin added as part of #7027 (#7153)

Co-authored-by: Abhijeet Bhowmik <abhijeet.bhowmik@cambiumnetworks.com>