Skip to content
This repository was archived by the owner on Aug 29, 2025. It is now read-only.

Commit bae491a

Browse files
committed
one more more more
1 parent ca41a21 commit bae491a

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

test/cds.ql.test.js

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -319,6 +319,19 @@ describe('cds.ql → cqn', () => {
319319
)
320320
})
321321

322+
test('where ({x:[undefined]})', () => {
323+
if (cdr) expect (
324+
SELECT.from(Foo).where({x:[undefined]})
325+
).to.eql ({ SELECT: {
326+
from: {ref:['Foo']},
327+
where: [
328+
{ref:['x']},
329+
'in',
330+
{ list: [ {val:undefined} ] }
331+
]
332+
}})
333+
})
334+
322335
test('where ( ... cql | {x:y} )', () => {
323336
const args = [`foo`, "'bar'", 3]
324337
const ID = 11

0 commit comments

Comments
 (0)