Changeset 900 for trunk/Packages/Common/Database.php
- Timestamp:
- Feb 17, 2021, 5:15:29 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Packages/Common/Database.php
r898 r900 134 134 } 135 135 136 function insert(string $Table, array $Data): void136 function insert(string $Table, array $Data): int 137 137 { 138 138 $this->query($this->GetInsert($Table, $Data)); 139 139 $this->insert_id = $this->PDO->lastInsertId(); 140 return $this->insert_id; 140 141 } 141 142
Note:
See TracChangeset
for help on using the changeset viewer.