Update block_wrapper.py
This commit is contained in:
parent
d6bd8e6abc
commit
f2d318832f
@ -104,6 +104,10 @@ def construct_sql(input_data):
|
||||
sql_template = sql_file.read()
|
||||
for key, value in input_data.items():
|
||||
placeholder = f"${key}"
|
||||
|
||||
if value is None:
|
||||
replacement = "NULL"
|
||||
|
||||
if isinstance(value, str):
|
||||
value = f"'{value}'"
|
||||
elif isinstance(value, bool):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user