On the documentation page at https://manual.joomla.org/docs/5.4/general-concepts/database/select-data/, I believe the code example:
$db = Factory::getContainer()->get(\Joomla\Database\DatabaseInterface:class);
should read
$db = Factory::getContainer()->get(\Joomla\Database\DatabaseInterface::class);
The same error is also on this page for other Joomla versions.
| Labels |
Removed:
?
|
||
| Labels |
Added:
No Code Attached Yet
|
||
Please close the issue here and create an issue in the repo for the manual https://github.com/joomla/Manual
| Status | New | ⇒ | Closed |
| Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2025-11-02 22:04:37 |
| Closed_By | ⇒ | HLeithner |
Mistake happend here joomla/Manual#545 @HLeithner
This was already mention by AI review:
joomla/Manual#545 (comment) @rdeutz