Expose internal jet.Rows type

This commit is contained in:
go-jet 2023-04-17 12:01:01 +02:00
parent c049675831
commit a428981a2d
7 changed files with 22 additions and 4 deletions

View file

@ -30,7 +30,7 @@ type Statement interface {
Rows(ctx context.Context, db qrm.Queryable) (*Rows, error)
}
// Rows wraps sql.Rows type to add query result mapping for Scan method
// Rows wraps sql.Rows type with a support for query result mapping
type Rows struct {
*sql.Rows