@@ -36,6 +36,40 @@ var setLiteralTests = TableTest{
3636 ),
3737 Compare : CompareExactUnordered ,
3838 },
39+ {
40+ // SetContainsAllSelectList
41+ name : "set-contains-all-select-list" ,
42+ SQLs : sqls (
43+ "select _id, setcontainsall(event, ['POST']) from selectwithsetliterals" ,
44+ ),
45+ ExpHdrs : hdrs (
46+ hdr ("_id" , fldTypeID ),
47+ hdr ("" , fldTypeBool ),
48+ ),
49+ ExpRows : rows (
50+ row (int64 (1 ), true ),
51+ row (int64 (2 ), false ),
52+ row (int64 (3 ), true ),
53+ ),
54+ Compare : CompareExactUnordered ,
55+ },
56+ {
57+ // SetContainsAnySelectList
58+ name : "set-contains-any-select-list" ,
59+ SQLs : sqls (
60+ "select _id, setcontainsany(event, ['POST', 'DELETE']) from selectwithsetliterals" ,
61+ ),
62+ ExpHdrs : hdrs (
63+ hdr ("_id" , fldTypeID ),
64+ hdr ("" , fldTypeBool ),
65+ ),
66+ ExpRows : rows (
67+ row (int64 (1 ), true ),
68+ row (int64 (2 ), false ),
69+ row (int64 (3 ), true ),
70+ ),
71+ Compare : CompareExactUnordered ,
72+ },
3973 {
4074 // SetContainsSelectListInt
4175 name : "set-contains-select-list-int" ,
@@ -53,6 +87,40 @@ var setLiteralTests = TableTest{
5387 ),
5488 Compare : CompareExactUnordered ,
5589 },
90+ {
91+ // SetContainsSelectAllListInt
92+ name : "set-contains-select-all-list-int" ,
93+ SQLs : sqls (
94+ "select _id, setcontainsall(ievent, [101]) from selectwithsetliterals" ,
95+ ),
96+ ExpHdrs : hdrs (
97+ hdr ("_id" , fldTypeID ),
98+ hdr ("" , fldTypeBool ),
99+ ),
100+ ExpRows : rows (
101+ row (int64 (1 ), nil ),
102+ row (int64 (2 ), nil ),
103+ row (int64 (3 ), true ),
104+ ),
105+ Compare : CompareExactUnordered ,
106+ },
107+ {
108+ // SetContainsSelectAnyListInt
109+ name : "set-contains-select-any-list-int" ,
110+ SQLs : sqls (
111+ "select _id, setcontainsany(ievent, [100, 101, 102]) from selectwithsetliterals" ,
112+ ),
113+ ExpHdrs : hdrs (
114+ hdr ("_id" , fldTypeID ),
115+ hdr ("" , fldTypeBool ),
116+ ),
117+ ExpRows : rows (
118+ row (int64 (1 ), nil ),
119+ row (int64 (2 ), nil ),
120+ row (int64 (3 ), true ),
121+ ),
122+ Compare : CompareExactUnordered ,
123+ },
56124 {
57125 // SetContainsWithLiteral
58126 // SetContainsWithLiteralInt
0 commit comments