I need to join my plugin's custom table to a an ElementCriteriaModel (ECM). I am trying to use modifyElementsQuery.
In the plugin's custom table, rows can share an element/entry via a separate id.
Can I achieve this by adding to the modifyElementsQuery? What would the query be to accomplish this?
*My intention is to have an array of models for each row of my custom table, and each model will include my row data, in addition to the element's content it is related to.