InsertQuery::$insertValues

protected property InsertQuery::$insertValues

A nested array of values to insert.

$insertValues is an array of arrays. Each sub-array is either an associative array whose keys are field names and whose values are field values to insert, or a non-associative array of values in the same order as $insertFields.

Whether multiple insert sets will be run in a single query or multiple queries is left to individual drivers to implement in whatever manner is most appropriate. The order of values in each sub-array must match the order of fields in $insertFields.

Type: array

File

includes/database/query.inc, line 479
Non-specific Database query code. Used by all engines.

Class

InsertQuery
General class for an abstracted INSERT query.

Code

protected $insertValues = array();

© 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/includes!database!query.inc/property/InsertQuery::insertValues/7.x

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部