Skip to content

Commit

Permalink
Fix docs typo
Browse files Browse the repository at this point in the history
  • Loading branch information
bhirsz committed Nov 5, 2023
1 parent 6f364b1 commit 1ce4a54
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/DatabaseLibrary/query.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ def query(self, selectStatement, sansTran=False, returnAsDict=False):
logger.info(f"Executing : Query | {selectStatement}")
self.__execute_sql(cur, selectStatement)
all_rows = cur.fetchall()

if returnAsDict:
mapped_rows = []
col_names = [c[0] for c in cur.description]
Expand Down Expand Up @@ -204,7 +203,7 @@ def execute_sql_script(self, sqlScriptFileName, sansTran=False):
| Execute Sql Script | ${EXECDIR}${/}resources${/}DML-teardown.sql |
| Execute Sql Script | ${EXECDIR}${/}resources${/}DDL-teardown.sql |
SQL commands are expected to be delimited by a semi-colon (';') - they will be executed separately.
SQL commands are expected to be delimited by a semicolon (';') - they will be executed separately.
For example:
DELETE FROM person_employee_table;
Expand Down Expand Up @@ -318,7 +317,7 @@ def execute_sql_string(self, sqlString, sansTran=False):
Executes the sqlString as SQL commands. Useful to pass arguments to your sql. Set optional input `sansTran` to
True to run command without an explicit transaction commit or rollback.
SQL commands are expected to be delimited by a semi-colon (';').
SQL commands are expected to be delimited by a semicolon (';').
For example:
| Execute Sql String | DELETE FROM person_employee_table; DELETE FROM person_table |
Expand Down

0 comments on commit 1ce4a54

Please sign in to comment.