Is there way to select every field from table using `select` instead of `selectAll`?
I have very wide table and writing every field by hand is time consuming.
selectAll
does the job, but I also need to populate some relations and build json_agg
s. Is there way to either select every column from table (and then build jsonObject) or extend selectAll
with some extra fields?
Using raw sql it could be done with please dont waste your time on building this query, just a little hint will be super helpfull! 😉1 Reply
Solution