Skip to content

Latest commit

 

History

History
109 lines (63 loc) · 5.3 KB

File metadata and controls

109 lines (63 loc) · 5.3 KB
graph LR
    Asynchronous_Cursor_Core_["Asynchronous Cursor (Core)"]
    Query_Execution_Layer["Query Execution Layer"]
    Result_Retrieval_Layer["Result Retrieval Layer"]
    Query_Preparation["Query Preparation"]
    Core_Query_Logic["Core Query Logic"]
    Raw_Result_Processing["Raw Result Processing"]
    Row_Iteration["Row Iteration"]
    Cursor_Lifecycle_Management["Cursor Lifecycle Management"]
    Asynchronous_Cursor_Core_ -- "orchestrates" --> Query_Execution_Layer
    Asynchronous_Cursor_Core_ -- "orchestrates" --> Result_Retrieval_Layer
    Asynchronous_Cursor_Core_ -- "orchestrates" --> Query_Preparation
    Asynchronous_Cursor_Core_ -- "orchestrates" --> Core_Query_Logic
    Asynchronous_Cursor_Core_ -- "orchestrates" --> Raw_Result_Processing
    Asynchronous_Cursor_Core_ -- "orchestrates" --> Row_Iteration
    Asynchronous_Cursor_Core_ -- "manages" --> Cursor_Lifecycle_Management
    Query_Execution_Layer -- "utilizes" --> Query_Preparation
    Query_Execution_Layer -- "invokes" --> Core_Query_Logic
    Core_Query_Logic -- "passes responses to" --> Raw_Result_Processing
    Result_Retrieval_Layer -- "depends on" --> Raw_Result_Processing
    Result_Retrieval_Layer -- "depends on" --> Row_Iteration
    Raw_Result_Processing -- "provides data to" --> Row_Iteration
Loading

CodeBoardingDemoContact

Details

The Asynchronous Cursor subsystem in aiomysql provides a high-level asynchronous interface for executing SQL queries and retrieving results, abstracting underlying connection details and handling result set processing.

Asynchronous Cursor (Core)

The central component providing the high-level asynchronous interface for database operations. It orchestrates the flow of query execution and result retrieval, acting as an adapter over the underlying connection.

Related Classes/Methods:

Query Execution Layer

Handles the asynchronous initiation and management of SQL command execution against the database.

Related Classes/Methods:

Result Retrieval Layer

Provides various asynchronous mechanisms to retrieve data rows from the executed query's result set.

Related Classes/Methods:

Query Preparation

Safely prepares a SQL query string by escaping arguments, crucial for preventing SQL injection vulnerabilities.

Related Classes/Methods:

Core Query Logic

Orchestrates the low-level asynchronous sending of a query to the database and handles the initial receipt of the raw database response.

Related Classes/Methods:

Raw Result Processing

Parses the raw database response (byte stream) into a structured, internal format suitable for further processing.

Related Classes/Methods:

Row Iteration

Facilitates the asynchronous reading and processing of individual rows from the structured result set.

Related Classes/Methods:

Cursor Lifecycle Management

Manages the state and resources of the cursor, ensuring proper cleanup and release of associated resources.

Related Classes/Methods: