diff options
| author | 2021-09-08 20:22:24 +0100 | |
|---|---|---|
| committer | 2021-09-08 20:22:24 +0100 | |
| commit | 299801f299737364cdd3e5a526bd40df5c48ca93 (patch) | |
| tree | 2d0926cdcf3088781842a83fd8ed50593006ccc2 /vendor/github.com/uptrace/bun/model_table_m2m.go | |
| parent | rework media processing a little bit (#191) (diff) | |
| parent | update bun library -> v1.0.4 (diff) | |
| download | gotosocial-299801f299737364cdd3e5a526bd40df5c48ca93.tar.xz | |
Merge pull request #195 from NyaaaWhatsUpDoc/update/bun-library
update bun library -> v1.0.4
Diffstat (limited to 'vendor/github.com/uptrace/bun/model_table_m2m.go')
| -rw-r--r-- | vendor/github.com/uptrace/bun/model_table_m2m.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/github.com/uptrace/bun/model_table_m2m.go b/vendor/github.com/uptrace/bun/model_table_m2m.go index 4357e3a8e..d82bc7b8a 100644 --- a/vendor/github.com/uptrace/bun/model_table_m2m.go +++ b/vendor/github.com/uptrace/bun/model_table_m2m.go @@ -21,7 +21,7 @@ type m2mModel struct { var _ tableModel = (*m2mModel)(nil) -func newM2MModel(j *join) *m2mModel { +func newM2MModel(j *relationJoin) *m2mModel { baseTable := j.BaseModel.Table() joinModel := j.JoinModel.(*sliceTableModel) baseValues := baseValues(joinModel, baseTable.PKs) |
