grr/server/grr_response_server/databases/mysql_flows.py
def DeleteAllFlowRequestsAndResponses(self, client_id, flow_id, cursor=None):
    """Deletes all requests and responses for a given flow from the database."""
    args = [
        mysql_utils.ClientIDToInt(client_id),
        mysql_utils.FlowIDToInt(flow_id)
    ]
    res_query = "DELETE FROM flow_responses WHERE client_id=%s AND flow_id=%s"
    cursor.execute(res_query, args)
    req_query = "DELETE FROM flow_requests WHERE client_id=%s AND flow_id=%s"
    cursor.execute(req_query, args)
Deletes all requests and responses for a given flow from the database.
Deletes all requests and responses for a given flow from the database.
Deletes all requests and responses for a given flow from the database .
def DeleteAllFlowRequestsAndResponses(self, client_id, flow_id, cursor=None):
    args = [
        mysql_utils.ClientIDToInt(client_id),
        mysql_utils.FlowIDToInt(flow_id)
    ]
    res_query = "DELETE FROM flow_responses WHERE client_id=%s AND flow_id=%s"
    cursor.execute(res_query, args)
    req_query = "DELETE FROM flow_requests WHERE client_id=%s AND flow_id=%s"
    cursor.execute(req_query, args)
def DeleteAllFlowRequestsAndResponses ( self , client_id , flow_id , cursor = None ) : args = [ mysql_utils . ClientIDToInt ( client_id ) , mysql_utils . FlowIDToInt ( flow_id ) ] res_query = "DELETE FROM flow_responses WHERE client_id=%s AND flow_id=%s" cursor . execute ( res_query , args ) req_query = "DELETE FROM flow_requests WHERE client_id=%s AND flow_id=%s" cursor . execute ( req_query , args )
Deletes all requests and responses for a given flow from the database.
Deletes all requests and responses for a given flow from the database .
"""Deletes all requests and responses for a given flow from the database."""
self
client_id
flow_id
cursor