Hey community!
i have an annual report table & subtables. i want to create relationship of those tables using 2 column. on sql would be like this:
FROM
report
JOIN
report_subjects
ON
report.item_id = report_subjects.item_id
AND
report.year_id = report_subjects.year_id
how to make it in phalcon?
thanx in advance