I would expect id (and the other properties) to be their scalar types, rather than array containing a single element. Am I doing something wrong or is this expected?
Yeah, the DB connectors do a lot of data transforming to set up query results to be very easy for the table component to read. You can use your query's "transform data" section with return formatDataAsArray (data) to get the data as a single object (i.e. columns and values)
Hey @mxkxf, that's very odd! Would you mind sharing screenshots of these occurances? Is this a Retool db resource? If you click schema and open Organization what do the column types look like? Can I see screenshots of that as well? Thanks!