(ctx context.Context, t T)
| 574 | } |
| 575 | |
| 576 | func (c chainG[T]) Updates(ctx context.Context, t T) (rowsAffected int, err error) { |
| 577 | res := c.g.apply(ctx).Updates(t) |
| 578 | return int(res.RowsAffected), res.Error |
| 579 | } |
| 580 | |
| 581 | func (c chainG[T]) Count(ctx context.Context, column string) (result int64, err error) { |
| 582 | var r T |