feat: Implement nil value handling in SQL query compilation#25
Conversation
- Added a new utility function `filterNilBindings` to filter out nil values from query bindings, ensuring that SQL queries are constructed correctly without including nil parameters. - Updated various query compilation methods across MySQL, PostgreSQL, and SQLite3 grammars to utilize the new nil handling logic, improving the robustness of query execution. - Enhanced unit tests to cover scenarios involving nil values in query parameters, ensuring comprehensive validation of the new functionality.
|
Thank you for the PR! The test workflow ( GO:1.24 DB:SQLite3 is running, the results of the run will be commented later. |
|
Thank you for the PR! The test workflow ( GO:1.24 DB:Postgres14.0 is running, the results of the run will be commented later. |
|
Thank you for the PR! The test workflow ( GO:1.24 DB:Postgres9.6 is running, the results of the run will be commented later. |
|
Thank you for the PR! The test workflow ( GO:1.24 DB:MySQL8.0 is running, the results of the run will be commented later. |
|
Thank you for the PR! The test workflow ( GO:1.24 DB:MySQL5.7 is running, the results of the run will be commented later. |
|
✨DONE✨ GO:1.24 DB:SQLite3 passed. |
|
✨DONE✨ GO:1.24 DB:Postgres14.0 passed. |
|
✨DONE✨ GO:1.24 DB:Postgres9.6 passed. |
|
✨DONE✨ GO:1.24 DB:MySQL5.7 passed. |
|
✨DONE✨ GO:1.24 DB:MySQL8.0 passed. |
filterNilBindingsto filter out nil values from query bindings, ensuring that SQL queries are constructed correctly without including nil parameters.