Skip to content

Commit b415c99

Browse files
committed
Update the docs
1 parent 292f3b4 commit b415c99

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

doc/index.html

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

src/DatabaseLibrary/query.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ def execute_sql_script(
276276
Set ``split`` to _False_ to disable this behavior - in this case the entire script content
277277
will be passed to the database module for execution as a single command.
278278
279-
Set `external_parser` to _True_ to use the external `sqlparse` library for splitting the script.
279+
Set ``external_parser`` to _True_ to use the external library [https://pypi.org/project/sqlparse/|sqlparse] for splitting the script.
280280
281281
Set ``no_transaction`` to _True_ to run command without explicit transaction commit
282282
or rollback in case of error.
@@ -325,11 +325,11 @@ def split_sql_script(
325325
external_parser=False,
326326
):
327327
"""
328-
Splits the content of the SQL script file loaded from `script_path` into individual SQL commands
328+
Splits the content of the SQL script file loaded from ``script_path`` into individual SQL commands
329329
and returns them as a list of strings.
330330
SQL commands are expected to be delimited by a semicolon (';').
331331
332-
Set `external_parser` to _True_ to use the external `sqlparse` library.
332+
Set ``external_parser`` to _True_ to use the external library [https://pypi.org/project/sqlparse/|sqlparse].
333333
"""
334334
with open(script_path, encoding="UTF-8") as sql_file:
335335
logger.info("Splitting script file into statements...")

0 commit comments

Comments
 (0)