mirror of
https://github.com/gnustep/libs-sqlclient.git
synced 2025-02-21 02:41:07 +00:00
Improve comments on batching.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/sqlclient/trunk@26283 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
69b7e384bd
commit
3adfab3887
1 changed files with 5 additions and 2 deletions
|
@ -1019,10 +1019,10 @@ extern unsigned SQLClientTimeTick();
|
|||
/**
|
||||
* Returns a transaction object configured to handle batching and
|
||||
* execute part of a batch of statements if execution of the whole
|
||||
* fails.<br />
|
||||
* using the [SQLTransaction-executeBatch] method fails.<br />
|
||||
* If stopOnFailure is YES than execution of the transaction will
|
||||
* stop with the first statement to fail, otherwise it will execute
|
||||
* all the statements it can, skipping any failued statements.
|
||||
* all the statements it can, skipping any failed statements.
|
||||
*/
|
||||
- (SQLTransaction*) batch: (BOOL)stopOnFailure;
|
||||
|
||||
|
@ -1317,6 +1317,9 @@ extern unsigned SQLClientTimeTick();
|
|||
* subsidiary transactions may succeed or fail atomically depending
|
||||
* on their individual attributes.
|
||||
* </p>
|
||||
* <p>If the transaction was not created using [SQLClient-batch:], then
|
||||
* calling this method is equivalent to calling the -execute method.
|
||||
* </p>
|
||||
* The method returns the number of statements which actually succeeded.
|
||||
*/
|
||||
- (unsigned) executeBatch;
|
||||
|
|
Loading…
Reference in a new issue