Expose internal jet.Rows type
This commit is contained in:
parent
c049675831
commit
a428981a2d
7 changed files with 22 additions and 4 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue