Adding joins to objects
Just a short post with a "yes it's a thing" or "no do it manually"
Assuming I had a database with users and files, where each file has a user in the "owner" field, is it possible to select all users, but with a join which returns
Assuming I had a database with users and files, where each file has a user in the "owner" field, is it possible to select all users, but with a join which returns
[{ name: "...", files: [...] }]