Add delete query
This commit is contained in:
parent
96d80a008a
commit
d195784554
|
@ -46,3 +46,8 @@ def insert(msgid=None, toAddress='[Broadcast subscribers]', fromAddress=None, su
|
|||
return ackdata
|
||||
else:
|
||||
return None
|
||||
|
||||
|
||||
def delete(ack_data):
|
||||
"""Perform Delete query"""
|
||||
sqlExecute("DELETE FROM sent WHERE ackdata = ?", ack_data)
|
||||
|
|
Reference in New Issue
Block a user