Welcome Guest, Not a member yet? Register   Sign In
Active Record is producing wrong SQL. Please help
#5

[eluser]Unknown[/eluser]
I just faced this problem and sorted it in a similar manner, but I want to know why this is a problem in the first place. When generating the query, can't AR do a gettype() and then decide to put quotes or not?

The funny thing is that I just finished one project that had mixed data types and I never got any error. Why did I get it with this project?


Messages In This Thread
Active Record is producing wrong SQL. Please help - by El Forum - 05-08-2009, 01:56 AM
Active Record is producing wrong SQL. Please help - by El Forum - 05-08-2009, 01:59 AM
Active Record is producing wrong SQL. Please help - by El Forum - 05-08-2009, 06:30 AM
Active Record is producing wrong SQL. Please help - by El Forum - 05-08-2009, 08:39 AM
Active Record is producing wrong SQL. Please help - by El Forum - 05-27-2009, 09:53 AM



Theme © iAndrew 2016 - Forum software by © MyBB