Migration::getRowValuesFromTable
Gets the values for multiple rows on a database table by the ID column.
Useful when fields have been removed from the class' `$db` property, and therefore are no longer accessible through the ORM. Returns an empty array if the table, any of the columns or the row do not exist.
Signature
public function getRowValuesFromTable(string
$table,
array
$fields,
string|int
$id )
Parameters
$table
— string$fields
— array$id
— object
Returns
- array
- array('FieldName' => value)