You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: Use database adapters for SQL generation in table.py (Phase 5)
Update table.py to use adapter methods for backend-agnostic SQL generation:
- Add adapter property to Table class for easy access
- Update full_table_name to use adapter.quote_identifier()
- Update UPDATE statement to quote column names via adapter
- Update INSERT (query mode) to quote field list via adapter
- Update INSERT (batch mode) to quote field list via adapter
- DELETE statement now backend-agnostic (via full_table_name)
Known limitations (to be fixed in Phase 6):
- REPLACE command is MySQL-specific
- ON DUPLICATE KEY UPDATE is MySQL-specific
- PostgreSQL users cannot use replace=True or skip_duplicates=True yet
All existing tests pass. Fully backward compatible with MySQL backend.
Part of multi-backend PostgreSQL support implementation.
Related: #1338
0 commit comments