We have moved our forum to GitHub Discussions. For questions about Phalcon v3/v4/v5 you can visit here and for Phalcon v6 here.

Can you add getOneRelated - just to select one row

Hello ,

i just want to suggest a things that i think is missed

We have already method getRelated

but is that any other method just allow us to get the first Related row ?

Thanks .



77.7k
Accepted
answer

getRelated() returns a ResultsetInterface, which has a getFirst() method

:o oh good news

thanks