Ignore:
Timestamp:
Feb 17, 2021, 5:15:29 PM (3 years ago)
Author:
chronos
Message:
  • Modified: Insert sample data action partially implemented.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Packages/Common/Database.php

    r898 r900  
    134134  }
    135135
    136   function insert(string $Table, array $Data): void
     136  function insert(string $Table, array $Data): int
    137137  {
    138138    $this->query($this->GetInsert($Table, $Data));
    139139    $this->insert_id = $this->PDO->lastInsertId();
     140    return $this->insert_id;
    140141  }
    141142
Note: See TracChangeset for help on using the changeset viewer.