Reputation: 11
I would like to ask a question about the dss. I'm creating queries to expose services rest by retrieving data from a db postrgresql. I would like to expose a service that, based on an incoming parameter (table name), retrieves all of that table. But I have a problem. I do not know a priori the number and the name of the columns in this table. So I wonder how I can map the output (maybe in a generic object)? It's possible to do it? Or do I need to know the name of the columns absolutely?
Thanks a lot
Upvotes: 1
Views: 66
Reputation: 2653
The DSS requires you to define what the response will look like beforehand. It is not dynamic like that.
Upvotes: 0