You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 24, 2023. It is now read-only.
Thanks for the excellent article. I found it quite informative with lots of little gotchas. Would it be possible for you to comment on the following
Is it possible to work with multiple result sets
If I have multiple select statements, then how can I ensure that I read each of the result sets individually?
Invoking stored procedures and passing parameters to stored procedures
If I include multiple statements in a transaction, does it perform a single batch i/o operation with the db or are multiple network calls made?
Thanks
-Rao
The text was updated successfully, but these errors were encountered:
Invoking stored procedures: driver specific. My answer from a go-sql-driver/mysql perspective is that I never used them, but it's just CALL procedurename, right? A regular call to Query or Exec should suffice - as long as only one result set is returned. First you have to patch the driver, though. Please read issue 66.
Transaction IO: As far as I know, it's one call per statement. Have a look at the source.
A driver could probably work around this, but I don't see any compelling reasons why it should.
Hi
Thanks for the excellent article. I found it quite informative with lots of little gotchas. Would it be possible for you to comment on the following
If I have multiple select statements, then how can I ensure that I read each of the result sets individually?
Thanks
-Rao
The text was updated successfully, but these errors were encountered: