Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FieldProp: add join option to combine sub-struct to main struct #62

Open
wenchy opened this issue Apr 23, 2023 · 0 comments
Open

FieldProp: add join option to combine sub-struct to main struct #62

wenchy opened this issue Apr 23, 2023 · 0 comments
Labels
enhancement New feature or request WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided.

Comments

@wenchy
Copy link
Member

wenchy commented Apr 23, 2023

📌 The join option implementation should be based on PR #123.

The join concept is borrowed from SQL join:

A JOIN clause is used to combine rows from two or more tables, based on a related column between them.

Sheet Chapter

ID Name SectionID SectionDesc
map<uint32, Chapter> string map<uint32, Section>|{join:"Section.ID"} string
Chapter’s ID Chapter’s name Section’s ID Section’s Desc
1 Chapter1 101 SectionDesc1
1 Chapter1 102 SectionDesc2
1 Chapter1 103 SectionDesc3
2 Chapter2 201 SectionDesc4
2 Chapter2 202 SectionDesc5

Sheet Section

ID Name
map<uint32, Section> string
Section’s ID Section’s Name
101 Name1
102 Name2
103 Name3
201 Name4
202 Name5
@wenchy wenchy added enhancement New feature or request WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided. labels Apr 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided.
Projects
None yet
Development

No branches or pull requests

1 participant