Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 0 additions & 21 deletions scripts/ilapfuncs.py
Original file line number Diff line number Diff line change
Expand Up @@ -702,27 +702,6 @@ def get_sqlite_db_records(path, query, attach_query=None):
logfunc(f" - {str(e)}")
return []

def get_sqlite_multiple_db_records(path_list, query, data_headers):
multiple_source_files = len(path_list) > 1
source_path = ""
data_list = []
if multiple_source_files:
data_headers = list(data_headers)
data_headers.append('Source Path')
data_headers = tuple(data_headers)
source_path = 'file path in the report below'
elif path_list:
source_path = path_list[0]
for file in path_list:
db_records = get_sqlite_db_records(file, query)
for record in db_records:
if multiple_source_files:
modifiable_record = list(record)
modifiable_record.append(file)
record = tuple(modifiable_record)
data_list.append(record)
return data_headers, data_list, source_path

def does_column_exist_in_db(path, table_name, col_name):
'''Checks if a specific col exists'''
db = open_sqlite_db_readonly(path)
Expand Down
Loading