Quantcast
Channel: Joomla! Forum - community, help and support
Viewing all articles
Browse latest Browse all 1022

Joomla! 5.x Coding • Re: Reading data from an external database in a model

$
0
0
Thanks @webdongle but that particular page is for Joomla 4, and I need to do more than establish a single one-off connection. I need to ensure that every time the model makes a database call, it uses the external connection.

In J4 it is possible to ensure the connection used by the base model, namely $this->__db, is set up when my (high level) model is constructed. I'm hoping someone can explain how to do this in J5.

Statistics: Posted by CharlieBigley — Thu Aug 22, 2024 7:45 am



Viewing all articles
Browse latest Browse all 1022

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>