\(\newcommand{\B}[1]{ {\bf #1} }\) \(\newcommand{\R}[1]{ {\rm #1} }\)
add_log_entry¶
View page sourceAdd Log Table Entry¶
Prototype¶
# at_cascade.add_log_entry
def add_log_entry(connection, message) :
assert type(message) == str
Purpose¶
Change the name of a table in the database.
connection¶
is a dismod_at open connection to the database.
message¶
is a str containing the message that is added at
the end of the log table
Log Table¶
As row is added at the end of the log table with the following columns values:
log_id : is the integer length of the log table before the message
message_type : is the text
at_cascadetable_name : is null
row_id : is null
unix_time : is the integer unit time
message : is the text message