Skip to Content
6 days ago

Passing parameters to views

185 Views Last edit 6 days ago 2 rev

Hi Community,

Following the sample example on CAP documentation, below is my entity view with a parameter.

entity XYZ (id: String) as select from table {
field1 : String,
field2 : String
} where field1=:id;

For above view, I am seeing below error "Database error 292: wrong number of arguments: id is not bound".
Any suggestions, what could be going wrong here?