Over in bug 458811 [1], I'm looking at adding a method to
mozIStorageConnection. This allows for the execution of multiple
storage statements to be executed asynchronously, in the order they are
given. This complements mozIStorageStatement::executeAsync that was
added earlier in July.
I just want to make sure there are no complaints on doing this like we
are supposed to for interface changes in 1.9.1.
Cheers,
Shawn
I am not very familiar with storage API, but you give SQL string to
execute, right? Then you may just append many statements, one after
another, separated by semi-colons.
I personally use this technique with ODBC, to execute long and
complicated statements, even if they contain conditional parts (For
example I check column exists before altering table, all in one statement).
But if you want many/every statement to return something, Then of course
this method will not work.
--
Arivald