refactor: Use pymysql to automatically escape#76
Conversation
provide HybridSearch class to enhance hybrid_search interface
<!-- Thank you for contributing to OceanBase! Please feel free to ping the maintainers for the review! --> ## Summary <!-- Please clearly and concisely describe the purpose of this pull request. If this pull request resolves an issue, please link it via "close #xxx" or "fix #xxx". --> close oceanbase#64 make Client.execute a private method.
Fix execute bug in client_base.py
<!-- Thank you for contributing to OceanBase! Please feel free to ping the maintainers for the review! --> ## Summary <!-- Please clearly and concisely describe the purpose of this pull request. If this pull request resolves an issue, please link it via "close #xxx" or "fix #xxx". --> close oceanbase#56 Support fulltext index parser configuration
This reverts commit e9921b5.
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the ✨ Finishing touches🧪 Generate unit tests (beta)
Comment |
|
Could you please create a new pull request to target |
Seems like it will be some code conflicts. |
|
I would prefer to use placeholders to set parameters rather than directly calling |
Thanks,I will check it. |
I looked into it, and the embedded version of pyseekdb doesn't support parameterized queries. It's possible that when the server-side component was added, using parameterized queries wasn't considered either. |
|
New pr:#77 |
Summary
Use parameterized query and pymysql will automatically escape the parameters
close #62
fix #75
Solution Description