Skip to content

chore: simplify getFlatColumnsFor in cqn4sql#1550

Merged
patricebender merged 4 commits intomainfrom
refactor/simplify-getFlatColumnsFor
Apr 22, 2026
Merged

chore: simplify getFlatColumnsFor in cqn4sql#1550
patricebender merged 4 commits intomainfrom
refactor/simplify-getFlatColumnsFor

Conversation

@patricebender
Copy link
Copy Markdown
Member

No description provided.

@patricebender patricebender marked this pull request as ready for review April 10, 2026 08:56
Comment thread db-service/lib/cqn4sql.js
* and proceeds accordingly. If the element is a structure, it recursively fetches flat columns for all sub-elements.
* If it's an association, it fetches flat columns for it's foreign keys.
* If it's a scalar, it creates a flat column for it.
* Structures → flat sub-element columns. Associations → flat foreign key columns.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
* Structures flat sub-element columns. Associations flat foreign key columns.
* Structures flat sub-element columns. Managed associations flat foreign key columns.

@patricebender patricebender enabled auto-merge (squash) April 22, 2026 11:52
@patricebender patricebender merged commit e6c915d into main Apr 22, 2026
5 of 6 checks passed
@patricebender patricebender deleted the refactor/simplify-getFlatColumnsFor branch April 22, 2026 12:01
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.

3 participants