Joins with results in arrays
I would like a single select with joins that gives me more or less the same result. Something along the lines of:
102 Replies
Yea I would like something like this too.
I am currently using promise.all
According to the doc, it should be possible with query and with, but I have managed to get it to work. And I have the same problem.
hello. bro and it's time to configure something additional to the references?
i have
but throw err T.T
you would need to setup the relationships yes, if you havent done so already, you can do an introspect and it will generate your current relations providing they are all linked with pkey -> fkey etc
ok
if this is many to many you need a junction table
I have it, in fact TS recommends the key, but it seems to give me err when I put with and if I remove it it works normally
yes thats how it would work
my table union is this
removed with so success
agg with so return err
add this relation