function InsertTrait::count

Attributes

#[\ReturnTypeWillChange]

File

core/lib/Drupal/Core/Database/Query/InsertTrait.php, line 182

Class

InsertTrait
Provides common functionality for INSERT and UPSERT queries.

Namespace

Drupal\Core\Database\Query

Code

public function count() {
  return count($this->insertValues);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.