File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff 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..." )
You can’t perform that action at this time.
0 commit comments