Skip to content

improve the handle of string literals in the MySQLExpressionGenerator #1183

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

abdala-elgendy
Copy link

Better Quote Handling:

  1. Randomly uses either single (') or double (") quotes
  2. Properly escapes quotes based on the chosen quote type
    for Example: 'text with "quotes"' or "text with 'quotes'"

Special Character Escaping:

\n for newlines
\r for carriage returns
\t for tabs
\b for backspace
\0 for null bytes
\Z for Ctrl+Z
\ for backslashes

Non-printable Characters:
Characters below 32 or above 126 are escaped

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant