Welcome Guest, Not a member yet? Register   Sign In
how to an extra AND condition in include_related() option in datamapper ?
#3

[eluser]Unknown[/eluser]
Hi,

I believe that I'm facing the same problem. The thing is i have to do this query:

SELECT *
FROM (`users`)
LEFT OUTER JOIN `pic_users` pic_users ON `users`.`id` = `pic_users`.`user_id` AND pic_users.status = TRUE

I need to add one more clause to my ON clause.

Anyone has ever faced something like that?

Thanks!


Messages In This Thread
how to an extra AND condition in include_related() option in datamapper ? - by El Forum - 05-29-2013, 07:34 PM



Theme © iAndrew 2016 - Forum software by © MyBB