Having / Where

Issue #13 new
Former user created an issue

Hi nice wrapper.... but in Doku you write

$db->having(array('title =' => 'My Title', 'id <' => $id)); // Produces: HAVING title = 'My Title', id < 45

but in reality it Produce HAVING ´title´ = 'My Title', ´id <´= ´45´

And for Where i don't see any way to do like this. WHERE ´changedate´ >= NOW(), ... one Idear i found at another wrapper du can expand the value as array lik ->where('changedate', array('>=',date('Y-m-d')))

is it possibly to add in both functions (where, having) to have >,<,>=.<=,BETWEEN ..

Comments (1)

  1. Log in to comment