[chore] bump bun library versions (#2837)

This commit is contained in:
kim
2024-04-15 11:01:20 +01:00
committed by GitHub
parent 6bb43f3f9b
commit 1018cde107
22 changed files with 403 additions and 388 deletions

View File

@ -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 {