Display data in a readable format, converting from an array format in mongodb

Hi, I want to represent this data (mongodb data)
Screenshot 2023-03-29 at 6.48.45 PM
as just ex: Portuguese, English and hopefully make it searchable by custom search box or filters.

How can I do this

Hey @Patsy_Count!

[{"count": "pt", "name":"Portuguese"}, {"count": "en", "name":"English"}].map(obj=>obj.name)

should get you an array of just the names!\

Hi sorry for the incomplete information, but I have a column called languages, where the data is stored as
Screenshot 2023-03-29 at 6.48.45 PM
Screenshot 2023-03-31 at 2.30.48 PM

I want to represent the data as you have above, but automatically on all entries of the Language column.

So each column has an array of objects where each object has a code and a name? If so, in your column, you can add a mapper that does something like:


And it'll make each column value just an array of languages.

Does that work for you? :slight_smile: