-
Notifications
You must be signed in to change notification settings - Fork 134
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
Add merged datasets functionality #1057
Comments
|
id | other | xform | columns |
---|---|---|---|
267 | data | data | data |
377 | data | data | data |
487 | data | data | data |
merged xform table
id | xform_id_foreign_key |
---|---|
1 | 267 |
2 | 377 |
3 | 478 |
ManyToMany field
A many to many field creates another table that references both the xforms and merged xforms table
xform table
id | other | xform | columns |
---|---|---|---|
267 | data | data | data |
377 | data | data | data |
487 | data | data | data |
merged xform table
id |
---|
1 |
2 |
3 |
logger merged xform table
id | merged_xform | xform |
---|---|---|
1 | 1 | 267 |
2 | 1 | 377 |
3 | 2 | 267 |
4 | 2 | 487 |
This way when fetching the xforms for a merged dataset, we select the records where the merged xfrom value matches the id of the merged xform and get all the xform values for those records.
closed by #1082 |
Allows data from two or more forms to be represented as one form/endpoint.
The model will inherit from existing xform model. The difference are:
Requirements
projects
,forms
,data
) to access/modify the formAha! Link: https://ona.aha.io/features/PROD-552
The text was updated successfully, but these errors were encountered: