× Here you can get community support related to ReDJ.

tableselect for more keys

  • jrodgar
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
9 years 11 months ago #2534 by jrodgar
Replied by jrodgar on topic tableselect for more keys
friendly bump

Please Log in or Create an account to join the conversation.

More
9 years 11 months ago #2535 by admin
Replied by admin on topic tableselect for more keys
You are right,
new jBackend took me all the time but new 1.7.5 is almost ready to be released. I will do this in a couple of days...

I apologize for delays but it's not easy to follow all pending tasks...

Kind regards,
Luigi

Please Log in or Create an account to join the conversation.

More
9 years 11 months ago - 9 years 11 months ago #2540 by admin
Replied by admin on topic tableselect for more keys
I want just to inform you that I'm adding this macro feature right now, before to close the 1.7.5, so it will be released in two days max (I need to complete all tests). I have added a new macro to support two or more keys as you suggested:
{placeholder_select table,column,key1=placeholder1,..,keyN=placeholderN}

I choose this solution for some reasons:
  • I prefer to not change syntax for existing macros, to avoid issues with existing rules after any upgrade
  • When it is possible to extend a feature, it's better for me to do the best way (so why just two keys?)
  • In your syntax there is a second "pipe" separator in addition to the existing "comma" separator. Using placeholders allows to have simplest syntax, any text (even pipes) in the values without complex parsing, and get the same result

Kind regards,
Luigi
Last edit: 9 years 11 months ago by admin.

Please Log in or Create an account to join the conversation.

  • jrodgar
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
9 years 11 months ago #2542 by jrodgar
Replied by jrodgar on topic tableselect for more keys
Looks really cool! :)

Please Log in or Create an account to join the conversation.

More
9 years 11 months ago #2545 by admin
Replied by admin on topic tableselect for more keys
It works.
I will release the 1.7.5 Enterprise version this evening.

Kind regards,
Luigi

Please Log in or Create an account to join the conversation.

Time to create page: 0.113 seconds