Changeset 851 for trunk/Packages/Common/Database.php
- Timestamp:
- Oct 14, 2017, 12:18:10 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Packages/Common/Database.php
r841 r851 202 202 { 203 203 } 204 205 public function Transaction($Queries) 206 { 207 $this->PDO->beginTransaction(); 208 foreach ($Queries as $Query) 209 { 210 $Statement = $this->PDO->prepare($Query); 211 $Statement->execute(); 212 } 213 $this->PDO->commit(); 214 } 204 215 } 205 216
Note:
See TracChangeset
for help on using the changeset viewer.