jet/postgres/lateral_test.go

10 lines
162 B
Go
Raw Normal View History

2020-10-16 13:26:53 +02:00
package postgres
import "testing"
func TestLATERAL(t *testing.T) {
assertSerialize(t, LATERAL(SELECT(Int(1)), "lat1"), `LATERAL (
SELECT $1
) AS lat1`)
}