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

getConnectionService() return false

Why does my $model->getConnectionService() return false?



4.7k
Accepted
answer

I think you are looking for either $model->getReadConnectionService() or $model->getWriteConnectionService(). Didn't see a plain getConnectionService on models.



5.2k

Thanks.

I think you are looking for either $model->getReadConnectionService() or $model->getWriteConnectionService(). Didn't see a plain getConnectionService on models.