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

@ -92,7 +92,10 @@ func TestRawStatementRows(t *testing.T) {
FROM dvds.actor
ORDER BY actor.actor_id`)
rows, err := stmt.Rows(context.Background(), db)
var rows *Rows
var err error
rows, err = stmt.Rows(context.Background(), db)
require.NoError(t, err)
for rows.Next() {

View file

@ -149,7 +149,10 @@ func TestRawStatementRows(t *testing.T) {
FROM dvds.actor
ORDER BY actor.actor_id`)
rows, err := stmt.Rows(context.Background(), db)
var rows *Rows
var err error
rows, err = stmt.Rows(context.Background(), db)
require.NoError(t, err)
for rows.Next() {

View file

@ -90,7 +90,10 @@ func TestRawStatementRows(t *testing.T) {
FROM actor
ORDER BY actor.actor_id`)
rows, err := stmt.Rows(context.Background(), db)
var rows *Rows
var err error
rows, err = stmt.Rows(context.Background(), db)
require.NoError(t, err)
for rows.Next() {