public static function find($id, $idColumn = null)
	{
		$tableName = static::tableName();
		$idColumn = $idColumn ?: static::$idColumn;

		$rows = Db::query("
			select *
			from $tableName
			where $idColumn = :id
		", ["id" => $id], static::getDbName());

		if ($rows === false)
			return false;
		if (empty($rows))
			return null;
		
		// Populate model
		$model = new static;
		foreach ($rows[0] as $col => $val) $model->$col = $model->decodeValue($val, $col);
		return $model;
	}
public static function find($id, $idColumn = null)
	{
		$tableName = static::tableName();
		$idColumn = $idColumn ?: static::$idColumn;

		$rows = Db::query("
			select *
			from $tableName
			where $idColumn = :id
		", ["id" => $id], static::getDbName());

		if ($rows === false)
			return false;
		if (empty($rows))
			return null;
		
		// Populate model
		$model = new static;
		foreach ($rows[0] as $col => $val) $model->$col = $model->decodeValue($val, $col);
		return $model;
	}
public static function find ( $ id , $ idColumn = null ) { $ tableName = static :: tableName ( ) ; $ idColumn = $ idColumn ? : static :: $ idColumn ; $ rows = Db :: query ( "
			select *
			from $tableName
			where $idColumn = :id
		" , [ "id" => $ id ] , static :: getDbName ( ) ) ; if ( $ rows === false ) return false ; if ( empty ( $ rows ) ) return null ; // Populate model
 $ model = new static ; foreach ( $ rows [ 0 ] as $ col => $ val ) $ model -> $ col = $ model -> decodeValue ( $ val , $ col ) ; return $ model ; }
Find model and return it

@param mixed		$id			id of the model
@param string	$idColumn	optional id column different from default $idColumn

@return static|bool single model or false if fails
Find model and return it