Global Data sync variables #82

Closed
opened 2022-07-25 07:10:10 +00:00 by jamie · 6 comments
jamie commented 2022-07-25 07:10:10 +00:00 (Migrated from git.hazaar.io)

It would be nice to be able to set global variables when doing a data sync. For example, I could set a variable that contains data that I would like to insert into multiple rows and/or tables.

Currently we have the ability to set variable for a single sync action, not set them globally. This means that it's currently not possible to use variable across multiple tables.

Use case here is I am defining custom lists which contain a DB query and a list of columns to display. There are multiple lists for a particular module but the client would like the same columns on all the lists within a module. Rather than defined the list columns for each entry it would be nice to be able to define it once as a variable, then use that as the column data for each row.

It would be nice to be able to set **global** variables when doing a data sync. For example, I could set a variable that contains data that I would like to insert into multiple rows and/or tables. Currently we have the ability to set variable for a single sync action, not set them globally. This means that it's currently not possible to use variable across multiple tables. Use case here is I am defining custom lists which contain a DB query and a list of columns to display. There are multiple lists for a particular module but the client would like the same columns on all the lists within a module. Rather than defined the list columns for each entry it would be nice to be able to define it once as a variable, then use that as the column data for each row.
jamie commented 2022-07-25 07:10:11 +00:00 (Migrated from git.hazaar.io)

assigned to @jamie

assigned to @jamie
jamie commented 2022-07-25 07:10:13 +00:00 (Migrated from git.hazaar.io)

created branch 82-data-sync-variables to address this issue

created branch [`82-data-sync-variables`](/hazaar/hazaar-dbi/-/compare/master...82-data-sync-variables) to address this issue
jamie commented 2022-07-25 07:10:22 +00:00 (Migrated from git.hazaar.io)

mentioned in merge request !52

mentioned in merge request !52
jamie commented 2022-07-25 23:13:15 +00:00 (Migrated from git.hazaar.io)

changed title from Data sync variables to {+Global +}Data sync variables

changed title from **Data sync variables** to **{+Global +}Data sync variables**
jamie commented 2022-07-25 23:13:15 +00:00 (Migrated from git.hazaar.io)

changed the description

changed the description
jamie commented 2022-07-26 06:22:45 +00:00 (Migrated from git.hazaar.io)

mentioned in commit 961d306bd5

mentioned in commit 961d306bd5b302f18c0a40cac7d14cd863fe9b9b
jamie (Migrated from git.hazaar.io) closed this issue 2022-07-26 06:22:45 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: hazaar/hazaar-dbi#82
No description provided.