graph LR
Driver["Driver"]
Connector["Connector"]
Connection["Connection"]
Transaction["Transaction"]
Statement["Statement"]
C_Interop_ODPI_C_Layer["C Interop (ODPI-C) Layer"]
Data_Type_Conversion["Data Type Conversion"]
Driver -- "creates" --> Connector
Connector -- "creates" --> Connection
Connection -- "creates" --> Transaction
Connection -- "creates" --> Statement
Connection -- "delegates to" --> C_Interop_ODPI_C_Layer
Transaction -- "delegates to" --> Connection
Statement -- "delegates execution to" --> C_Interop_ODPI_C_Layer
Statement -- "uses for I/O" --> Data_Type_Conversion
click Data_Type_Conversion href "https://github.com/CodeBoarding/GeneratedOnBoardings/blob/main/godror/Data_Type_Conversion.md" "Details"
One paragraph explaining the functionality which is represented by this graph. What the main flow is and what is its purpose.
The global driver entry point registered with database/sql. Its sole responsibility is to parse the DSN and create a Connector.
Related Classes/Methods:
driver.go
Holds immutable connection configuration. Its purpose is to create new Connection objects for the connection pool on demand.
Related Classes/Methods:
driver.go
Represents an active database session. It is the central hub for managing transactions, preparing statements, and executing direct queries.
Related Classes/Methods:
conn.go
Implements the driver.Tx interface, managing the state of a database transaction and providing Commit and Rollback methods.
Related Classes/Methods:
tx.go
Represents a prepared SQL statement (driver.Stmt). It manages query execution, parameter binding, and result set iteration.
Related Classes/Methods:
stmt.go
The low-level abstraction layer that uses CGo to communicate with the Oracle ODPI-C library. It translates Go calls into C function calls.
Related Classes/Methods:
orahlp.goz*.go
Data Type Conversion [Expand]
A utility component responsible for converting data between Go native types (e.g., string, int, time.Time) and Oracle's internal data types.
Related Classes/Methods:
data.golob.go