Add custom set returning function test.

This commit is contained in:
go-jet 2024-11-03 12:00:39 +01:00
parent cf0923fdd3
commit 5d2c232529
7 changed files with 76 additions and 6 deletions

View file

@ -141,7 +141,9 @@ RETURNING link.id AS "link.id",
}
func TestRawStatementRows(t *testing.T) {
stmt := RawStatement(`
var stmt Statement
stmt = RawStatement(`
SELECT actor.actor_id AS "actor.actor_id",
actor.first_name AS "actor.first_name",
actor.last_name AS "actor.last_name",