Commit 77e2d4c
feat: Use adapter for WHERE clause generation (Phase 6 Part 2)
Update condition.py to use database adapter for backend-agnostic SQL:
- Get adapter at start of make_condition() function
- Update column identifier quoting (line 311)
- Update subquery field list quoting (line 418)
- WHERE clauses now properly quoted for both MySQL and PostgreSQL
Maintains backward compatibility with MySQL backend.
All existing tests pass.
Part of Phase 6: Multi-backend PostgreSQL support.
Related: #1338
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>1 parent 1365bf9 commit 77e2d4c
1 file changed
+10
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
301 | 301 | | |
302 | 302 | | |
303 | 303 | | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
304 | 307 | | |
305 | 308 | | |
306 | 309 | | |
307 | 310 | | |
308 | | - | |
| 311 | + | |
309 | 312 | | |
310 | 313 | | |
311 | 314 | | |
| |||
410 | 413 | | |
411 | 414 | | |
412 | 415 | | |
413 | | - | |
414 | | - | |
415 | | - | |
416 | | - | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
417 | 422 | | |
418 | 423 | | |
419 | 424 | | |
| |||
0 commit comments