lessql icon indicating copy to clipboard operation
lessql copied to clipboard

Is it possible for Row to cast column values to PHP natives?

Open gausam opened this issue 9 years ago • 2 comments

I noticed when I get a Row instance (from fetch(), say), even numeric columns (in the database) are returned to string. I know this isn't LessQL's fault, but seeing other ORMs do the cast-to-native bit for the developer is this something I missed in LessQL or is it something that's yet to be worked on?

Otherwise enjoying working with LessQL!:

gausam avatar Jul 25 '16 22:07 gausam

Thank you :) yeah, some sort of "type hinting" is currently missing. I'll put this on the list for v1, thanks again!

morris avatar Jul 26 '16 17:07 morris

Rushes to releases tab to see how close we are to v1....

gausam avatar Jul 26 '16 18:07 gausam