I need help to dynamically obtain the 'header' attribute into an array generated by a sqlite query. In the end I have an array like this example (var date): table_view_headers_filter .
Now I can create the array with the title and all the fields in the db, how to add the hader attribute only when needed?