private function parseWhere(array $wheres)
{
$where = [];
foreach ($wheres as $arr) {
// check alias
$columnInfo = explode('.', $arr['column']);
if (count($columnInfo) === 1) {
$column = $columnInfo[0];
} else {
$column = $columnInfo[1];
}
if ($column == 'id' && $arr['operator'] == '=') {
$where['id'] = $arr['value'];
}
}
return $where;
}