Example #1
0
 /**
  * Commit the started batch operation.
  *
  * @return boolean
  *
  * @throws  \Sgpatil\Orientdb\QueryException If no open batch to commit.
  */
 public function commitBatch()
 {
     try {
         return $this->client->commitBatch();
     } catch (\Exception $e) {
         throw new QueryException('Error committing batch operation.', array(), $e);
     }
 }