On MySQL the following Query is possible:
SELECT * FROM table WHERE LOWER(field) = 'stringtomatch';
I personally use that A LOT on some webapps .. is there a way for this kind of comparison on idiorm as well? ->select('LOWER(field)', 'stringtomatch') isn't working for me.
The same is for other things like transforming a datetime to a timestamp using UNIX_TIMESTAMP(field).
On MySQL the following Query is possible:
SELECT * FROM table WHERE LOWER(field) = 'stringtomatch';
I personally use that A LOT on some webapps .. is there a way for this kind of comparison on idiorm as well?
->select('LOWER(field)', 'stringtomatch')
isn't working for me.The same is for other things like transforming a datetime to a timestamp using UNIX_TIMESTAMP(field).