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

debusgging printouts

parent 0df160ff
No related branches found
No related tags found
No related merge requests found
......@@ -104,7 +104,6 @@ To check if a table exists for a method 'getEmployeeData' with arguments indicat
This function relies on the implementation of `find_table_name_in_manifest`, which must query a manifest or similar structure to find the corresponding table name based on the provided method name and arguments. The manifest structure and query logic are assumed to be predefined.
"""
function does_table_exist_for_method(conn::MySQL.Connection, method_name::String, arguments_string::String, arguments::Dict)
println("we get here $method_name, $arguments_string, $arguments")
table_str = find_table_name_in_manifest(conn, method_name, arguments_string, arguments)
println("but not here: $table_str")
return table_str != ""
......@@ -179,7 +178,7 @@ In this example, `find_table_name_in_manifest` is used to search for a table in
function find_table_name_in_manifest(conn::MySQL.Connection, method_name::String, arguments_string::String, arguments::Dict)
# Serialize the arguments dictionary to a JSON string
arguments_dict = bytes2hex(sha256(JSON.json(arguments)))
println("do we get here?")
# Prepare and execute a query to check if the entry exists in the manifest table
query = """
SELECT result_table_name
......
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