grr/server/grr_response_server/databases/mysql_flows.py
def ReadChildFlowObjects(self, client_id, flow_id, cursor=None):
    """Reads flows that were started by a given flow from the database."""
    query = ("SELECT " + self.FLOW_DB_FIELDS +
             "FROM flows WHERE client_id=%s AND parent_flow_id=%s")
    cursor.execute(query, [
        mysql_utils.ClientIDToInt(client_id),
        mysql_utils.FlowIDToInt(flow_id)
    ])
    return [self._FlowObjectFromRow(row) for row in cursor.fetchall()]
Reads flows that were started by a given flow from the database.
Reads flows that were started by a given flow from the database.
Reads flows that were started by a given flow from the database .
def ReadChildFlowObjects(self, client_id, flow_id, cursor=None):
    query = ("SELECT " + self.FLOW_DB_FIELDS +
             "FROM flows WHERE client_id=%s AND parent_flow_id=%s")
    cursor.execute(query, [
        mysql_utils.ClientIDToInt(client_id),
        mysql_utils.FlowIDToInt(flow_id)
    ])
    return [self._FlowObjectFromRow(row) for row in cursor.fetchall()]
def ReadChildFlowObjects ( self , client_id , flow_id , cursor = None ) : query = ( "SELECT " + self . FLOW_DB_FIELDS + "FROM flows WHERE client_id=%s AND parent_flow_id=%s" ) cursor . execute ( query , [ mysql_utils . ClientIDToInt ( client_id ) , mysql_utils . FlowIDToInt ( flow_id ) ] ) return [ self . _FlowObjectFromRow ( row ) for row in cursor . fetchall ( ) ]
Reads flows that were started by a given flow from the database.
Reads flows that were started by a given flow from the database .
"""Reads flows that were started by a given flow from the database."""
self
client_id
flow_id
cursor