For simplicity, I have 2 models
Client(id, username, password, full_name)
Request(id, client_id, fee, transfer_method, created_at, updated_at)
Client hasMany Request
I could do something like this:
$client = Client::findFirst("id = 1"); $requests = $client->request;
But if I only want to select the (id, fee, transfer_method) fields of Request model? How can I do that?
Thank you very much!