Skip to content
Snippets Groups Projects
Commit 43f8681f authored by Riccardo Boero's avatar Riccardo Boero :innocent:
Browse files

debusgging printouts

parent 5b0df70d
No related branches found
No related tags found
No related merge requests found
......@@ -186,12 +186,13 @@ function find_table_name_in_manifest(conn::MySQL.Connection, method_name::String
WHERE method_name = '$method_name' AND arguments_string = '$arguments_string' AND arguments_dict = '$arguments_dict';
"""
result = query_connection(conn, query)
println(result)
# Check if a result was found
if !isempty(result)
return result[1, 1] # Return the first matching table name
if !isempty(result) && nrow(result) > 0 && :result_table_name in names(result)
# Now you're sure the DataFrame has rows and the expected column
return result[1, :result_table_name]
else
return "" # Return an empty string if not found
return "" # Return an empty string if conditions are not met
end
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment