strapi-plugin-import-export-content
strapi-plugin-import-export-content copied to clipboard
Spread JSON objects in CSV outputs to make them more readable
If I have following data in my Strapi database:
| Name | School |
|---|---|
| Nirmal | {name: xyz, area:abc} |
This plugin would export it exactly like above: keeping the JSON field in a stringified form.. I wish to understand why it can't be like this instead:
| Name | School.name | School.area |
|---|---|---|
| Nirmal | xyz | abc |
At this line you can add a check whether the element variable is an array or an object. In case if it is an object, you can create extra columns and save the data appropriately.
I have a hunch you knew/ tried to do something like this, so I'm wondering is there anything I'm missing in my understanding of Strapi/ this plugin to figure this out. I'd love to hear some clarification on this.
Awesome job, thanks :v:
- 1
@nirmalhk7 : By any chance, have you come across something that can do bulk update of existing entries (instead of importing new data).