Rollback (undo) any pending changes since the last commit or rollback. If no operations are pending, nothing is done. Calling rollback() is only meaningful if AutoCommit is false. New Session objects are created with auto-commit set to true.
Session Interface | Marklogic.Xcc Namespace