Hi all.
In model cfc, how can i setup a relation like this?
FROM tTable tt
LEFT JOIN aTable at ON at.fk_id =
tt.id AND at.active = 1
In aTable.cfc model i can write this:
hasMany(name="rel_name", modelName="tTable", foreingKey="fk_id", joinType="outer");
but how can i setup the last part: "... AND at.active = 1" ?
Thanks