tbanel / orgtbljoin

Enrich an Org-table with a reference table
GNU General Public License v3.0
32 stars 4 forks source link

Feature request: support joining more than 2 tables #4

Open lhernanz opened 2 weeks ago

lhernanz commented 2 weeks ago

Thanks for this very useful package!

Would you be open to extend the package to join more than 2 tables? I have a number of small tables that I would love to be able to join by using this package. I am aware that you can use chaining, but that requires a lot of intermediate tables and far more code than needed.

The idea would be that the :ref-table and the :ref-column parameters of the dynamic block could receive a list of elements (tables and column names), very similar to what it is possible with the :cols parameter.

Thanks!

tbanel commented 4 days ago

Hi lhernanz This sounds like a natural extension.

In your use case, there is a single master table, and several reference tables, isn'it? And the joining column in the master table is the same for all reference tables, is that true?

Let us think about this extension.

Sorry for my delayed answer. I was on the road those days. Regards

lhernanz commented 4 days ago

Hi,

Yes, that would be the use case. A primary table and a number of secondary tables to join. Therefore the joining column in the primary table is always the same.

Thanks for thinking about this!

On Thu, Sep 19, 2024, 08:47 tbanel @.***> wrote:

Hi lhernanz https://github.com/lhernanz This sounds like a natural extension.

In your use case, there is a single master table, and several reference tables, isn'it? And the joining column in the master table is the same for all reference tables, is that true?

Let us think about this extension.

Sorry for my delayed answer. I was on the road those days. Regards

— Reply to this email directly, view it on GitHub https://github.com/tbanel/orgtbljoin/issues/4#issuecomment-2361386731, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABFWJ5J2VJS5742UFABONZ3ZXLWXJAVCNFSM6AAAAABNTTZQTCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNRRGM4DMNZTGE . You are receiving this because you authored the thread.Message ID: @.***>