Skip to content
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

Add support for custom wrapping for dialects #18

Merged
merged 1 commit into from
May 13, 2022

Conversation

aryehb
Copy link
Contributor

@aryehb aryehb commented May 13, 2022

The default wrapping for identifiers is double quotes. However, the MySQL dialect uses backticks.

This changes the mock client to use the custom wrapping implementation of the dialect, if one exists.

Fixes #19.

The default wrapping for identifiers is double quotes. However,
the MySQL dialect uses backticks.

This changes the mock client to use the custom wrapping implementation
of the dialect, if one exists.
@felixmosh
Copy link
Owner

Did you tried to pass dialect feature?
Can you elaborate what is the issue? (open one)

@aryehb
Copy link
Contributor Author

aryehb commented May 13, 2022

@felixmosh See #19 for the issue.

This PR fixes the issue by using the custom implementation for wrapping identifiers, if the dialect provides one.

@felixmosh felixmosh merged commit 7f24c0f into felixmosh:master May 13, 2022
@felixmosh
Copy link
Owner

Thank you for the PR 🙏🏼

@aryehb aryehb deleted the fix/dialect-wrapping branch June 15, 2022 15:28
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.

Identifier wrapping is incorrect for the MySQL dialect
2 participants