node-mysql-libmysqlclient icon indicating copy to clipboard operation
node-mysql-libmysqlclient copied to clipboard

Add example of using multiple queries in a single statement to documentation

Open henriksjostrom opened this issue 12 years ago • 3 comments

henriksjostrom avatar Feb 11 '13 11:02 henriksjostrom

You can look at the tests for synchronous example: https://github.com/Sannis/node-mysql-libmysqlclient/blob/master/tests/low-level-sync/test-class-mysqlconnection-sync.js#L51-L85

Are you really need async version for this?

Sannis avatar Feb 11 '13 18:02 Sannis

I would really need an async version of this, is it enough to replace the sync in the function names and add an callback with (err, res) parameters?

SLM-Linus avatar Feb 12 '13 11:02 SLM-Linus

Yes, async would be very useful for me.

henriksjostrom avatar Feb 12 '13 13:02 henriksjostrom