Run Secure SELECT Queries with Prepared Statements (bind and ParameterType)
Queries the database via DatabaseInterface, quoteName() and typed bound parameters to eliminate SQL injection.
<?php
declare(strict_types=1);
use Joomla\CMS\Factory;
use Joomla\Database\DatabaseInterface;
use Joomla\Database\ParameterType;
// ...