Skip to content

Commit

Permalink
use configurable column names
Browse files Browse the repository at this point in the history
  • Loading branch information
denisdulici committed Apr 23, 2021
1 parent b6a2041 commit 1018632
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Drivers/Database.php
Original file line number Diff line number Diff line change
Expand Up @@ -174,8 174,8 @@ protected function write(array $data)
$delete_keys = [];

foreach ($db_data as $db_row) {
$key = $db_row->key;
$value = $db_row->value;
$key = $db_row->{$this->key};
$value = $db_row->{$this->value};

$is_in_insert = $is_different_in_db = $is_same_as_fallback = false;

Expand Down

0 comments on commit 1018632

Please sign in to comment.