src/server/server.py
def db_reset_saved_races():
    '''Resets database saved races to default.'''
    DB.session.query(Database.SavedRaceMeta).delete()
    DB.session.query(Database.SavedPilotRace).delete()
    DB.session.query(Database.SavedRaceLap).delete()
    DB.session.commit()
    logger.info('Database saved races reset')
Resets database saved races to default.
Resets database saved races to default.
Resets database saved races to default .
def db_reset_saved_races():
    DB.session.query(Database.SavedRaceMeta).delete()
    DB.session.query(Database.SavedPilotRace).delete()
    DB.session.query(Database.SavedRaceLap).delete()
    DB.session.commit()
    logger.info('Database saved races reset')
def db_reset_saved_races ( ) : DB . session . query ( Database . SavedRaceMeta ) . delete ( ) DB . session . query ( Database . SavedPilotRace ) . delete ( ) DB . session . query ( Database . SavedRaceLap ) . delete ( ) DB . session . commit ( ) logger . info ( 'Database saved races reset' )
Resets database saved races to default.
Resets database saved races to default .
'''Resets database saved races to default.'''