Internal helper method for executing statments. Logs queries, and
stores statement object in ::_last_statment, accessible publicly
through ::get_last_statement()
protected static _execute ( string $query, array $parameters = [], string $connection_name = self::DEFAULT_CONNECTION ) : boolean | ||
$query | string | |
$parameters | array | An array of parameters to be bound in to the query |
$connection_name | string | Which connection to use |
return | boolean | Response of PDOStatement::execute() |