-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Results from multiple statements query returned as single dimensional array #508
Comments
eg:
is actually an invalid sql statement in PostgreSQL
|
Would this work with a prepared statement? I think you can't have multiple commands in a single prepared statement. |
Ignore me - you already stated this in point number 2 above. |
👍 What is the current status of this feature? Are you still looking for pull requests? |
reference topic |
Added this to the [email protected] release milestone. Long standing bug but it should be fixed. |
This is fixed in [email protected] |
While this does improve the driver nicely, for any library that works based off the results returned from the driver, it screws up everything, and requires major architectural changes. There is probably not a single library out there ready to handle multi-result sets. This can cause a havoc 😄 |
@alitaheri same here, I'm stuck trying to figure out a good approach to supporting multiple results in |
I have 3 queries I'm running as multiple statements, but the results are all returned in a single dimensional array. The MySQL library returns multiple statement queries in a multidimensional array. The problem is I can't tell which results come from which query.
SQL: select id from table1;select id from table2;select id from table3;
PG:
row: [ {aaa},{bbb},{ccc}]
MySQL:
row: [ [{aaa}], [{bbb}], [{ccc}] ]
The text was updated successfully, but these errors were encountered: