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

@ -5,6 +5,9 @@ import "github.com/go-jet/jet/v2/internal/jet"
// Statement is common interface for all statements(SELECT, INSERT, UPDATE, DELETE, LOCK)
type Statement = jet.Statement
// Rows wraps sql.Rows type with a support for query result mapping
type Rows = jet.Rows
// Projection is interface for all projection types. Types that can be part of, for instance SELECT clause.
type Projection = jet.Projection