This commit is contained in:
Daniel
2022-09-16 18:43:11 +02:00
parent aa5fda976a
commit 47655c5f48

View File

@@ -411,7 +411,7 @@ describe('cds.ql → cqn', () => {
] ]
}}) }})
const ql_with_groups_fix = !!cds.ql.Query.prototype.flat const ql_with_groups_fix = false
if (ql_with_groups_fix) { if (ql_with_groups_fix) {
expect ( expect (
@@ -464,11 +464,9 @@ describe('cds.ql → cqn', () => {
).to.eql ({ SELECT: { ).to.eql ({ SELECT: {
from: {ref:['Foo']}, from: {ref:['Foo']},
where: [ where: [
{xpr:[ {ref:['x']}, '=', {val:1},
{ref:['x']}, '=', {val:1}, 'or',
'or', {ref:['y']}, '=', {val:2},
{ref:['y']}, '=', {val:2},
]}
] ]
}}) }})