Db: getImportrunRowsetChecksum helper method
This commit is contained in:
parent
bd31d0e06d
commit
22444f2792
|
@ -55,6 +55,16 @@ class Db extends DbConnection
|
|||
return $this->db()->fetchOne($select);
|
||||
}
|
||||
|
||||
public function getImportrunRowsetChecksum($id)
|
||||
{
|
||||
$db = $this->db();
|
||||
$query = $db->select()
|
||||
->from('import_run', 'rowset_checksum')
|
||||
->where('id = ?', $id);
|
||||
|
||||
return $db->fetchOne($query);
|
||||
}
|
||||
|
||||
public function fetchLatestImportedRows($source, $columns = null)
|
||||
{
|
||||
$db = $this->db();
|
||||
|
|
Loading…
Reference in New Issue