Skip to content
This repository has been archived by the owner on Nov 25, 2022. It is now read-only.

Spread JSON objects in CSV outputs to make them more readable #65

Open
nirmalhk7 opened this issue Mar 21, 2022 · 1 comment
Open

Spread JSON objects in CSV outputs to make them more readable #65

nirmalhk7 opened this issue Mar 21, 2022 · 1 comment

Comments

@nirmalhk7
Copy link

nirmalhk7 commented Mar 21, 2022

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 ✌️

@ishallwin20
Copy link

  • 1

@nirmalhk7 : By any chance, have you come across something that can do bulk update of existing entries (instead of importing new data).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants