How does one work with transactions using this library? I can see references to commit and rollback in the code, but it's not clear how these are used.
You have to call connection.setAutoCommit(false) to avoid implicit commiting every command (default is true). (Note: synchronous call)
I found no difference by either executing a query with "commit" or "rollback" or using the undocumented connection.rollback(callback) or connection.commit(callback) functions, but would prefer the function calls because it calls the native occi api's rollback()/commit().