W3cubDocs

/Drupal 8

protected property Upsert::$key

The unique or primary key of the table.

Type: string

File

core/lib/Drupal/Core/Database/Query/Upsert.php, line 25

Class

Upsert
General class for an abstracted "Upsert" (UPDATE or INSERT) query operation.

Namespace

Drupal\Core\Database\Query

Code

protected $key;

© 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/property/Upsert::key/8.1.x