@@ -40,7 +40,7 @@ The docstrings also specify when arguments are optional, and what the default va
4040- ** connect_to_db(self)** : Connects to the Oracle database using credentials from environment variables.
4141- ** disconnect_from_db(self, conn)** : Closes the provided Oracle database connection.
4242- ** execute_query(self, query, params=None)** : Executes a SQL query with optional parameters and returns the results as a pandas DataFrame.
43- - ** execute_stored_procedure(self, procedure_name, params=None)** : Executes a named stored procedure with optional parameters.
43+ - ** execute_stored_procedure(self, ` procedure_name ` , params=None)** : Executes a named stored procedure with optional parameters.
4444- ** exec_bcss_timed_events(self, nhs_number_df)** : Runs the ` bcss_timed_events ` stored procedure for each NHS number provided in a DataFrame.
4545- ** get_subject_id_from_nhs_number(self, nhs_number)** : Retrieves the ` subject_screening_id ` for a given NHS number.
4646
@@ -83,7 +83,7 @@ Common values are placed in the `SqlQueryValues` class to avoid repeating the sa
8383## How to Add New Oracle-Specific Functions
8484
8585- Define a new function in ` utils/oracle/oracle_specific_functions.py ` .
86- - Create your SQL query, parameterizing as needed.
86+ - Create your SQL query, ` parameterizing ` as needed.
8787- Call ` OracleDB().execute_query(query, params) ` to run the query.
8888- Return the result as a pandas DataFrame.
8989- Document the function with a clear docstring.
0 commit comments