Welcome Guest, Not a member yet? Register   Sign In
like_having() for active record
#1

[eluser]BlueCamel[/eluser]
Can we get a like() function for the HAVING clause in active record? Maybe we could rename the existing or_like() and like() to or_where_like() and where_like() then add or_having_like() and having_like() functions?

I'm not sure about SQL standards, but in MySQL at least it's perfect valid to write HAVING col like '%foo%'.


Messages In This Thread
like_having() for active record - by El Forum - 03-01-2008, 10:42 PM
like_having() for active record - by El Forum - 03-02-2008, 05:41 AM



Theme © iAndrew 2016 - Forum software by © MyBB