public function min($table, $join, $column = null, $where = null)
{
$query = $this->query($this->select_context($table, $join, $column, $where, 'MIN'));
if ($query) {
$min = $query->fetchColumn();
return is_numeric($min) ? $min + 0 : $min;
} else {
return false;
}
}