mirror of
https://github.com/superseriousbusiness/gotosocial
synced 2025-06-05 21:59:39 +02:00
[chore] bump bun library versions (#2837)
This commit is contained in:
6
vendor/github.com/uptrace/bun/model_table_has_many.go
generated
vendored
6
vendor/github.com/uptrace/bun/model_table_has_many.go
generated
vendored
@ -83,9 +83,9 @@ func (m *hasManyModel) Scan(src interface{}) error {
|
||||
column := m.columns[m.scanIndex]
|
||||
m.scanIndex++
|
||||
|
||||
field, err := m.table.Field(column)
|
||||
if err != nil {
|
||||
return err
|
||||
field := m.table.LookupField(column)
|
||||
if field == nil {
|
||||
return fmt.Errorf("bun: %s does not have column %q", m.table.TypeName, column)
|
||||
}
|
||||
|
||||
if err := field.ScanValue(m.strct, src); err != nil {
|
||||
|
Reference in New Issue
Block a user