Welcome Guest, Not a member yet? Register   Sign In
MySQL, using BETWEEN-clause with Active Record
#1

[eluser]Vitsaus[/eluser]
How can I use simple sql queries with Between-clause if I use Active record? Manual didn't give any clear guide with that or maybe I'm just blind.

I want to do something like this:
Code:
SELECT some, random, things FROM pages WHERE lft BETWEEN 2 AND 11 ORDER BY lft ASC


Messages In This Thread
MySQL, using BETWEEN-clause with Active Record - by El Forum - 01-17-2009, 07:22 AM
MySQL, using BETWEEN-clause with Active Record - by El Forum - 01-17-2009, 07:39 AM
MySQL, using BETWEEN-clause with Active Record - by El Forum - 10-05-2010, 11:35 PM
MySQL, using BETWEEN-clause with Active Record - by El Forum - 10-06-2010, 09:10 PM
MySQL, using BETWEEN-clause with Active Record - by El Forum - 03-05-2013, 12:33 PM



Theme © iAndrew 2016 - Forum software by © MyBB