This method initiates a transaction within the function.
When using a transactional database, which are retrieved using the methods
orient.getDatabase() and not
orient.getGraphNoTx(), you can manage transactions within your functions. You may find this useful in situations where you want the function to rollback operations when it encounters conflicts or similar problems.