How can i use greater or less than in sql where conditions (<
, >
, <=
, >=
) on ImpressPages 4.x. I tried something like following but i got error on ipDb()->update()
and ipDb()->delete()
functions:
ipDb()->delete('Persons', array('age <=' => 18));
ipDb()->delete('Persons', array('age >' => 80));
ipDb()->delete('Persons', array('age <' => 25));
ipDb()->delete('Persons', array('age >=' => 41));
The Error:
Column not found: 1054 Unknown column 'age <=' in 'where clause'' in