diff --git a/.travis.yml b/.travis.yml
index bafb5bb..b9b338c 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,8 +1,8 @@
language: php
php:
- 5.6
- - 5.5
- 7
+ - 7.3
- hhvm
install: composer install
script: ./vendor/bin/phpunit --coverage-clover clover.xml
@@ -11,4 +11,5 @@ matrix:
fast_finish: true
allow_failures:
- php: 7
+ - PHP: 7.3
- php: hhvm
diff --git a/src/DataAccess.php b/src/DataAccess.php
index eedf6d9..8944f4e 100644
--- a/src/DataAccess.php
+++ b/src/DataAccess.php
@@ -442,4 +442,34 @@ public function filterInsertValues($data, $fields)
}
return $insertValues;
}
+
+ /**
+ * Initiates a transaction
+ * @see \PDO::beginTransaction()
+ * @return bool TRUE on success or FALSE on failure.
+ */
+ public function beginTransaction()
+ {
+ return $this->pdo->beginTransaction();
+ }
+
+ /**
+ * Initiates a transaction
+ * @see \PDO::rollBack()
+ * @return bool TRUE on success or FALSE on failure.
+ */
+ public function rollback()
+ {
+ return $this->pdo->rollBack();
+ }
+
+ /**
+ * Commits a transaction
+ * @see \PDO::commit()
+ * @return bool TRUE on success or FALSE on failure.
+ */
+ public function commit()
+ {
+ return $this->pdo->commit();
+ }
}