commit method

  1. @override
bool commit(
  1. TSQLHandle trans
)
override

Implementation

@override
bool commit(TSQLHandle trans) {
  // @@@ commit = marks the transaction as closed; the queue's actual sending happens in flushPending().
  // @@@ If there's still unsent DML in the queue, this can't send it synchronously (HTTP is async),
  // @@@ so commitAsync()/applyUpdatesAsync() are the complete flow to use.
  (trans as TWapTransactionHandle).active = false;
  return true;
}