diff --git a/voussoirkit/sqlhelpers.py b/voussoirkit/sqlhelpers.py index d33e8c5..46fa11a 100644 --- a/voussoirkit/sqlhelpers.py +++ b/voussoirkit/sqlhelpers.py @@ -145,6 +145,7 @@ def literal(item): return f'{item:f}' elif isinstance(item, str): + item = item.replace("'", "''") return f"'{item}'" elif isinstance(item, bytes):