Module my_autopylot.database39

Functions

def delete_log_database()

Description

This function will delete the log database

def drop_table(table_name)

Description

This function will drop a table

Args

table_name
Name of the table

Returns

None

def get_all_rows(table_name)

Description

This function will return all rows from a table

Args

table_name
Name of the table

Returns

rows
List of rows
def update_log_database(bot_name='', bot_status='', description='OK')

Description

Updates the log database.

Args

bot_name
A string representing the name of the bot.
bot_status
A string representing the status of the bot.
description
A string representing the description of the bot.

Returns

A boolean representing whether the update was successful.