fluentpdo icon indicating copy to clipboard operation
fluentpdo copied to clipboard

Add params to SELECT method

Open gazever opened this issue 3 years ago • 2 comments

Hi

This code worked in version 1 of fluentpdo - however after upgrading to vs 2.x it now seems I cannot add params to select methods - is there a workaround?

->select('COALESCE(inoverride.time,?) checkInTime, COALESCE(outoverride.time, ?) checkOutTime', $checkInTimeDefault, $checkOutTimeDefault)

gazever avatar May 25 '21 15:05 gazever

Interesting, select() was upgraded from a magic method call to a dedicated function in 2.0. I'll see what I can do to support this again, give me a couple of days.

cbornhoft avatar May 25 '21 17:05 cbornhoft

Hi, I've actually reverted back to vs 1, so no rush.

gazever avatar May 26 '21 08:05 gazever