I'm wondering how to use the model based on a column in it's foreign key.
In SQL it would be similar to: SELECT a.id, b.* FROM a JOIN b ON a.col = b.col WHERE b.col = "val"
If I want to translate that to using Phalcon models similar to A::find("conditions" => "a.id = :id:, b.col = :val:") will not work.
Relation between A to B is 1 to many
Is the solution to use -find A instance on id -query "a"->b(//can I insert query parameters here)?