Apply List Relations
The "
getRecords" method uses the "
getRecordsSQL" method internally, but it also does some post-processing on that query to determine the value of "
list" relation fields.
To run that post-processing manually, call the "applyListRelations" method manually. It takes the following arguments:
- tablename (string, required): The name of the table used in the query.
- query (query, required): The query upon which list relations should be applied.