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

fix: raise an exception if multiple bind parameters aren't an array #527

Merged
merged 1 commit into from
Apr 19, 2024

Conversation

flavorjones
Copy link
Member

@flavorjones flavorjones commented Apr 19, 2024

Make sure Database#execute, #query, and #execute_batch raise an ArgumentError to avoid silent problems.

This should have been done in ae12904

Related to #525

A potential alternative is to revert ae12904

@flavorjones flavorjones enabled auto-merge April 19, 2024 21:24
@flavorjones flavorjones disabled auto-merge April 19, 2024 21:33
Make sure Database#execute, #query, and #execute_batch raise an
ArgumentError to avoid silent problems.

This should have been done in ae12904
@flavorjones flavorjones force-pushed the flavorjones-raise-on-bind-params branch from f61da5e to 1168b9c Compare April 19, 2024 21:36
@flavorjones flavorjones enabled auto-merge April 19, 2024 21:38
@flavorjones flavorjones changed the title fix: raise an exception if bind parameters aren't an array fix: raise an exception if multiple bind parameters aren't an array Apr 19, 2024
@flavorjones flavorjones merged commit 19baf76 into main Apr 19, 2024
125 checks passed
@flavorjones flavorjones deleted the flavorjones-raise-on-bind-params branch April 19, 2024 22:08
threeplanetssoftware added a commit to threeplanetssoftware/apple_cloud_notes_parser that referenced this pull request May 4, 2024
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

Successfully merging this pull request may close these issues.

2 participants