Skip to content
New issue

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

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

Already on GitHub? # to your account

Fix numeric column formatting #456

Merged
merged 2 commits into from
Sep 3, 2024
Merged

Fix numeric column formatting #456

merged 2 commits into from
Sep 3, 2024

Conversation

mabar
Copy link
Contributor

@mabar mabar commented May 8, 2024

  • bug fix
  • BC break? no

We have some numeric columns in database for which Dibi fails with TypeError explode() expects parameter 2 to be string, int given.
I have fixed the case a that failed in our code, but it seems the same issue might be in cases v and m as well. I don't quite understand Dibi internals so I am unable to verify if it's a real problem in these cases.
The issue happens with code like $connection->update('table', [10 => 'foo'])>where('id = %i', 1)->execute();
If you could also backport the fix to the v4.2 branch, it would be welcome.
Thank you

image

@dg dg force-pushed the master branch 6 times, most recently from 4271a41 to 7c9ff39 Compare September 3, 2024 00:56
@dg dg merged commit 640da0a into dg:master Sep 3, 2024
6 of 8 checks passed
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants