Skip to content

Conversation

iheanyi
Copy link
Contributor

@iheanyi iheanyi commented Oct 3, 2022

Before this pull request, we only returned the rows from a query as an object. This led to a problem where if you have two columns with the same name, the last instance of it would overwrite the value, leading to loss of data. This fixes this issue by taking a note from MySQL in Ruby and allowing the users to return the results as an array, fixing this issue. Additionally, we are returning all of the fields back with executed queries, because that data will line up to the rows when it's executed.

@iheanyi iheanyi requested a review from dgraham October 3, 2022 17:18
@iheanyi iheanyi merged commit 988ddbf into main Oct 3, 2022
@iheanyi iheanyi deleted the iheanyi/add-as-array-for-options branch October 3, 2022 17:47
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