Mercurial > hg > isophonics-drupal-site
comparison core/lib/Drupal/Core/Database/StatementPrefetch.php @ 17:129ea1e6d783
Update, including to Drupal core 8.6.10
author | Chris Cannam |
---|---|
date | Thu, 28 Feb 2019 13:21:36 +0000 |
parents | c2387f117808 |
children |
comparison
equal
deleted
inserted
replaced
16:c2387f117808 | 17:129ea1e6d783 |
---|---|
18 protected $queryString; | 18 protected $queryString; |
19 | 19 |
20 /** | 20 /** |
21 * Driver-specific options. Can be used by child classes. | 21 * Driver-specific options. Can be used by child classes. |
22 * | 22 * |
23 * @var Array | 23 * @var array |
24 */ | 24 */ |
25 protected $driverOptions; | 25 protected $driverOptions; |
26 | 26 |
27 /** | 27 /** |
28 * Reference to the Drupal database connection object for this statement. | 28 * Reference to the Drupal database connection object for this statement. |
39 protected $pdoConnection; | 39 protected $pdoConnection; |
40 | 40 |
41 /** | 41 /** |
42 * Main data store. | 42 * Main data store. |
43 * | 43 * |
44 * @var Array | 44 * @var array |
45 */ | 45 */ |
46 protected $data = []; | 46 protected $data = []; |
47 | 47 |
48 /** | 48 /** |
49 * The current row, retrieved in \PDO::FETCH_ASSOC format. | 49 * The current row, retrieved in \PDO::FETCH_ASSOC format. |
50 * | 50 * |
51 * @var Array | 51 * @var array |
52 */ | 52 */ |
53 protected $currentRow = NULL; | 53 protected $currentRow = NULL; |
54 | 54 |
55 /** | 55 /** |
56 * The key of the current row. | 56 * The key of the current row. |
60 protected $currentKey = NULL; | 60 protected $currentKey = NULL; |
61 | 61 |
62 /** | 62 /** |
63 * The list of column names in this result set. | 63 * The list of column names in this result set. |
64 * | 64 * |
65 * @var Array | 65 * @var array |
66 */ | 66 */ |
67 protected $columnNames = NULL; | 67 protected $columnNames = NULL; |
68 | 68 |
69 /** | 69 /** |
70 * The number of rows affected by the last query. | 70 * The number of rows affected by the last query. |
89 protected $fetchStyle = \PDO::FETCH_OBJ; | 89 protected $fetchStyle = \PDO::FETCH_OBJ; |
90 | 90 |
91 /** | 91 /** |
92 * Holds supplementary current fetch options (which will be used by the next fetch). | 92 * Holds supplementary current fetch options (which will be used by the next fetch). |
93 * | 93 * |
94 * @var Array | 94 * @var array |
95 */ | 95 */ |
96 protected $fetchOptions = [ | 96 protected $fetchOptions = [ |
97 'class' => 'stdClass', | 97 'class' => 'stdClass', |
98 'constructor_args' => [], | 98 'constructor_args' => [], |
99 'object' => NULL, | 99 'object' => NULL, |
108 protected $defaultFetchStyle = \PDO::FETCH_OBJ; | 108 protected $defaultFetchStyle = \PDO::FETCH_OBJ; |
109 | 109 |
110 /** | 110 /** |
111 * Holds supplementary default fetch options. | 111 * Holds supplementary default fetch options. |
112 * | 112 * |
113 * @var Array | 113 * @var array |
114 */ | 114 */ |
115 protected $defaultFetchOptions = [ | 115 protected $defaultFetchOptions = [ |
116 'class' => 'stdClass', | 116 'class' => 'stdClass', |
117 'constructor_args' => [], | 117 'constructor_args' => [], |
118 'object' => NULL, | 118 'object' => NULL, |