Mercurial > hg > isophonics-drupal-site
comparison core/lib/Drupal/Core/Database/StatementPrefetch.php @ 16:c2387f117808
Routine composer update
author | Chris Cannam |
---|---|
date | Tue, 10 Jul 2018 15:07:59 +0100 |
parents | 4c8ae668cc8c |
children | 129ea1e6d783 |
comparison
equal
deleted
inserted
replaced
15:e200cb7efeb3 | 16:c2387f117808 |
---|---|
212 * Some drivers (including SQLite) will need to perform some preparation | 212 * Some drivers (including SQLite) will need to perform some preparation |
213 * themselves to get the statement right. | 213 * themselves to get the statement right. |
214 * | 214 * |
215 * @param $query | 215 * @param $query |
216 * The query. | 216 * The query. |
217 * @param array $args | 217 * @param array|null $args |
218 * An array of arguments. | 218 * An array of arguments. This can be NULL. |
219 * @return \PDOStatement | 219 * @return \PDOStatement |
220 * A PDOStatement object. | 220 * A PDOStatement object. |
221 */ | 221 */ |
222 protected function getStatement($query, &$args = []) { | 222 protected function getStatement($query, &$args = []) { |
223 return $this->dbh->prepare($query); | 223 return $this->dbh->prepare($query); |