public Upsert::key($field)
Sets the unique / primary key field to be used as condition for this query.
string $field: The name of the field to set.
$this
public function key($field) { $this->key = $field; return $this; }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Database!Query!Upsert.php/function/Upsert::key/8.1.x