Skip to content

can not insert JSON data #85

@bindi-mo

Description

@bindi-mo

If there is a single quote in the JSON data, it will be enclosed in double quotes, causing a syntax error and making it impossible to insert.

Value.to_query() in query.py

if value.find("'") != -1:
    return f'"{value}"'

What should I do?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions