Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add params to SELECT method #312

Open
gazever opened this issue May 25, 2021 · 2 comments
Open

Add params to SELECT method #312

gazever opened this issue May 25, 2021 · 2 comments

Comments

@gazever
Copy link

gazever commented May 25, 2021

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)

@cbornhoft
Copy link
Member

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.

@gazever
Copy link
Author

gazever commented May 26, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants