private function where($condition)
{
$statement = "";
if (isset($condition['where']) && $condition['where'] != "") {
$statement .= ' WHERE ' . $condition['where'];
}
if (isset($condition['order'])) {
$statement .= ' ORDER BY `' . $condition['order'] . '`';
}
if (isset($condition['limit'])) {
$statement .= ' LIMIT ' . $condition['limit'];
}
return $statement;
}