Skip to content

feat: add support for unsafe WHERE subqueries in seed specifications#5

Merged
nabroleonx merged 1 commit into
mainfrom
feat/cycle-fallback-and-unsafe-where
Mar 5, 2026
Merged

feat: add support for unsafe WHERE subqueries in seed specifications#5
nabroleonx merged 1 commit into
mainfrom
feat/cycle-fallback-and-unsafe-where

Conversation

@nabroleonx

Copy link
Copy Markdown
Owner
  • Introduced --allow-unsafe-where option in CLI to enable subqueries in seed WHERE clauses.
  • Updated configuration to include allow_unsafe_where field for extraction settings.
  • Enhanced PostgreSQL adapter to handle unsafe WHERE clauses based on configuration.
  • Modified validation logic to allow subqueries when explicitly opted in.
  • Added tests for implicit foreign key detection and cycle fallback behavior.
  • Updated existing tests to cover new functionality and ensure security measures are in place.

- Introduced `--allow-unsafe-where` option in CLI to enable subqueries in seed WHERE clauses.
- Updated configuration to include `allow_unsafe_where` field for extraction settings.
- Enhanced PostgreSQL adapter to handle unsafe WHERE clauses based on configuration.
- Modified validation logic to allow subqueries when explicitly opted in.
- Added tests for implicit foreign key detection and cycle fallback behavior.
- Updated existing tests to cover new functionality and ensure security measures are in place.
@nabroleonx nabroleonx merged commit d246247 into main Mar 5, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant