Grab a PDOStatement object from a given query and its arguments.
Some drivers (including SQLite) will need to perform some preparation themselves to get the statement right.
$query: The query.
array $args: An array of arguments.
PDOStatement A PDOStatement object.
protected function getStatement($query, &$args = array()) {
return $this->dbh
->prepare($query);
}