Solved thread

This post is marked as solved. If you think the information contained on this thread must be part of the official documentation, please contribute submitting a pull request to its repository.

getConnectionService() return false

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



2.9k
Accepted
answer

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

Thanks.

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