Skip to Content
0
Oct 25, 2022 at 10:13 AM

Like operator in CDS CQL CAP - Issue

677 Views

Hi ,

I am working on CAP Development and encountered the error while implementing the like operator -

I followed this CAP guidelines - https://cap.cloud.sap/docs/node.js/cds-ql (Like operator )

Here is my query.

const PRODID = await master.run( SELECT.from(MASTER) .columns([ 'ACTION' 'PRDID', ]) .where({PRDID:{like:'%FLEXHX_PLUS%' } })

I get error - Invalid token detected at position 7

Thanks,

shivam