app/database/db_functions.py
def return_fighter_info(self, fighter_name):
        """Return fighter stats in order to display them in the search_page.py."""

        return self.connection.cursor().execute(
            f"SELECT * FROM fighters_table WHERE NAME ='{fighter_name}'"
        ).fetchone()
Return fighter stats in order to display them in the search_page.py.
Return fighter stats in order to display them in the search_page.py.
Return fighter stats in order to display them in the search_page . py .
def return_fighter_info(self, fighter_name):
        return self.connection.cursor().execute(
            f"SELECT * FROM fighters_table WHERE NAME ='{fighter_name}'"
        ).fetchone()
def return_fighter_info ( self , fighter_name ) : return self . connection . cursor ( ) . execute ( f"SELECT * FROM fighters_table WHERE NAME ='{fighter_name}'" ) . fetchone ( )
Return fighter stats in order to display them in the search_page.py.
Return fighter stats in order to display them in the search_page . py .
"""Return fighter stats in order to display them in the search_page.py."""
self
fighter_name