Welcome Guest, Not a member yet? Register   Sign In
Active Record order_by with get_where
#2

[eluser]WanWizard[/eluser]
You shouldn't confuse the order in which you write the statements of a SQL query with the order in which you have to call AR methods.

The get() always comes last, as that is the method that actually executes the query.


Messages In This Thread
Active Record order_by with get_where - by El Forum - 07-23-2010, 06:57 AM
Active Record order_by with get_where - by El Forum - 07-23-2010, 07:10 AM
Active Record order_by with get_where - by El Forum - 07-23-2010, 07:30 AM
Active Record order_by with get_where - by El Forum - 07-23-2010, 08:02 AM
Active Record order_by with get_where - by El Forum - 07-23-2010, 08:06 AM
Active Record order_by with get_where - by El Forum - 07-23-2010, 08:13 AM
Active Record order_by with get_where - by El Forum - 07-23-2010, 09:34 AM
Active Record order_by with get_where - by El Forum - 07-23-2010, 09:39 AM



Theme © iAndrew 2016 - Forum software by © MyBB