---
id: task-13
title: Implement simplified aux_table API without block syntax
status: Done
assignee:
  - '@assistant'
created_date: '2025-07-13'
updated_date: '2025-07-13'
labels: []
dependencies: []
---

## Description

Update the aux_table method to work without block syntax, automatically discovering columns from database schema

## Acceptance Criteria

- [ ] aux_table method works without block parameter
- [ ] Columns are automatically discovered from database schema
- [ ] Existing tests are updated to use new API
- [ ] All functionality remains the same

## Implementation Plan

1. Update Configuration class to make block parameter optional\n2. Update aux_table method signature to accept optional block\n3. Update tests to work with new simplified API\n4. Remove references to columns and indexes from Configuration\n5. Ensure all tests pass and type checking is clean

## Implementation Notes

Successfully implemented the simplified aux_table API without block syntax. Key changes:\n\n- Updated Configuration class to make block parameter optional (T.nilable(Proc))\n- Updated aux_table method signature to accept optional block parameter\n- Removed columns and indexes from Configuration class as they're no longer needed\n- Updated all tests to work with the new simplified API\n- Maintained backward compatibility while enabling the new aux_table :table_name syntax\n\nAll tests pass (23 examples, 0 failures) and type checking is clean. The implementation now supports the simplified API where columns are automatically discovered from the database schema rather than being defined in the DSL.
