rows.go 152 B

12345678910111213
  1. package common
  2. import (
  3. "database/sql"
  4. )
  5. type Rows struct {
  6. *sql.Rows
  7. }
  8. func (r *Rows) Scans(row any) error {
  9. return r.Rows.Scan(scans(row)...)
  10. }