summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/lib/Drupal/Core/Database/Connection.php15
1 files changed, 12 insertions, 3 deletions
diff --git a/core/lib/Drupal/Core/Database/Connection.php b/core/lib/Drupal/Core/Database/Connection.php
index d415dca..f451e50 100644
--- a/core/lib/Drupal/Core/Database/Connection.php
+++ b/core/lib/Drupal/Core/Database/Connection.php
@@ -808,12 +808,15 @@ abstract class Connection {
* @param string $table
* The table to use for the insert statement.
* @param array $options
- * (optional) An array of options on the query.
+ * (optional) An associative array of options to control how the query is
+ * run. The given options will be merged with
+ * \Drupal\Core\Database\Connection::defaultOptions().
*
* @return \Drupal\Core\Database\Query\Insert
* A new Insert query object.
*
* @see \Drupal\Core\Database\Query\Insert
+ * @see \Drupal\Core\Database\Connection::defaultOptions()
*/
public function insert($table, array $options = []) {
$class = $this->getDriverClass('Insert');
@@ -862,12 +865,15 @@ abstract class Connection {
* @param string $table
* The table to use for the update statement.
* @param array $options
- * (optional) An array of options on the query.
+ * (optional) An associative array of options to control how the query is
+ * run. The given options will be merged with
+ * \Drupal\Core\Database\Connection::defaultOptions().
*
* @return \Drupal\Core\Database\Query\Update
* A new Update query object.
*
* @see \Drupal\Core\Database\Query\Update
+ * @see \Drupal\Core\Database\Connection::defaultOptions()
*/
public function update($table, array $options = []) {
$class = $this->getDriverClass('Update');
@@ -880,12 +886,15 @@ abstract class Connection {
* @param string $table
* The table to use for the delete statement.
* @param array $options
- * (optional) An array of options on the query.
+ * (optional) An associative array of options to control how the query is
+ * run. The given options will be merged with
+ * \Drupal\Core\Database\Connection::defaultOptions().
*
* @return \Drupal\Core\Database\Query\Delete
* A new Delete query object.
*
* @see \Drupal\Core\Database\Query\Delete
+ * @see \Drupal\Core\Database\Connection::defaultOptions()
*/
public function delete($table, array $options = []) {
$class = $this->getDriverClass('Delete');