Welcome Guest, Not a member yet? Register   Sign In
active record - where() using < or >
#1

[eluser]Unknown[/eluser]
I want to select some data from database where timestamp is greater than NOW().

Is it possible to do it without manually creating the query?

$this->db->where('col'<'sth2') doesn't work. Is there a plan to add the support for >,<,<=... operator, for example: $this->db->where('col','sth2','>')


Messages In This Thread
active record - where() using < or > - by El Forum - 10-21-2009, 07:06 PM
active record - where() using < or > - by El Forum - 10-21-2009, 07:43 PM
active record - where() using < or > - by El Forum - 10-21-2009, 08:48 PM
active record - where() using < or > - by El Forum - 10-22-2009, 02:37 AM



Theme © iAndrew 2016 - Forum software by © MyBB