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

about single quote escaping #34

Open
dev-bwh opened this issue Dec 11, 2023 · 0 comments
Open

about single quote escaping #34

dev-bwh opened this issue Dec 11, 2023 · 0 comments

Comments

@dev-bwh
Copy link

dev-bwh commented Dec 11, 2023

hi
@OldBlackJoe

tempParamKey = mysqlRealEscapeParam(tempParamKey);
}
tempParamKey = tempParamKey.replace(/'/g, "''");

ex)

tempParamKey = `인천광역시 서구 (가정동, 루원시티 SK Leaders' VIEW)`

result

'인천광역시 서구 (가정동, 루원시티 SK Leaders\'' VIEW)'

i want result

'인천광역시 서구 (가정동, 루원시티 SK Leaders\' VIEW)'
or
'인천광역시 서구 (가정동, 루원시티 SK Leaders'' VIEW)'

mysqlRealEscapeParam

Is it mandatory to use it?

or not

Can I leave out line 99?

Please confirm.

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

No branches or pull requests

1 participant