Hi Jakub
No, it's a Propel ORM interface.
/**
* @inheritDoc
*
* @return \PDOStatement|false
*/
#[\Override]
public function query(string $statement)
{
return $this->pdo->query($statement);
}
However, in the instance where there are two parameters we are executing to this one:
/**
* Forward any calls to an inaccessible method to the proxied connection.
*
* @param string $method
* @param mixed $args
*
* @return mixed
*/
public function __call(string $method, $args)
{
return $this->pdo->$method(...$args);
}
My work around at this stage is to do this:
$pdofunc = "query";
$result = $pdo->$pdofunc("SELECT $table.* FROM $table $joins WHERE $selection", PDO::FETCH_ASSOC);
Are there options to turn off certain checks like PHP0443?
Cheers
Murray