I have a table Establishment, and I also have couple of related tables, which I want to fetch on the basis of id field in Establishment.
id of establishment is the foreign key of the other related tables.
The error I get is as below in API Docs when I just enter related=*
The getRecords works fine without * in related.
“message”: “Failed to retrieve records from ‘establishment’.\nCDbCommand failed to execute the SQL statement: SQLSTATE: Syntax error: 7 ERROR: syntax error at or near “)”\nLINE 3: WHERE “id” IN () LIMIT 1000\n ^”,