Skip to content

Commit ae4ac7c

Browse files
committed
Test VALUES() inside WITH clause
1 parent 7345d78 commit ae4ac7c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test/select/with.test.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,5 +72,9 @@ describe("select WITH", () => {
7272
it("supports DELETE inside WITH", () => {
7373
testWc(`WITH t1 AS (DELETE FROM foo RETURNING *) SELECT * FROM t1`);
7474
});
75+
76+
it("supports VALUES inside WITH", () => {
77+
testWc(`WITH t1 AS (VALUES (1, 2, 3)) SELECT * FROM t1`);
78+
});
7579
});
7680
});

0 commit comments

Comments
 (0)