public static function search (string $column, string $searchQ, int $limit=0, string $order="DESC")
	{
		$order = static::validateOrder($order);
		return static::limitFindBySql("SELECT * FROM ".static::$tableName." WHERE {$column} LIKE '%$searchQ%' ORDER BY id {$order}", $limit);
	}
public static function search (string $column, string $searchQ, int $limit=0, string $order="DESC")
	{
		$order = static::validateOrder($order);
		return static::limitFindBySql("SELECT * FROM ".static::$tableName." WHERE {$column} LIKE '%$searchQ%' ORDER BY id {$order}", $limit);
	}
public static function search ( string $ column , string $ searchQ , int $ limit = 0 , string $ order = "DESC" ) { $ order = static :: validateOrder ( $ order ) ; return static :: limitFindBySql ( "SELECT * FROM " . static :: $ tableName . " WHERE {$column} LIKE '%$searchQ%' ORDER BY id {$order}" , $ limit ) ; }
Search the database
@param string $column
@param string $searchQ
@param int $limit
@param string $order
@return mixed
Search the database