You are here

function backup_db_history_load in Backup Database 8

Return export history entry.

File

./backup_db.module, line 30
backup_db.module

Code

function backup_db_history_load($id) {
  $connection = \Drupal\Core\Database\Database::getConnection();
  return $connection
    ->query('SELECT * FROM {backup_db} WHERE eid = :id', array(
    ':id' => $id,
  ))
    ->fetchAll();
}