mysql_xdevapi\TableInsert
PHP Manual

TableInsert::values

(No version information available, might only be in Git)

TableInsert::valuesAdd insert row values

说明

public mysql_xdevapi\TableInsert mysql_xdevapi\TableInsert::values ( array $row_values )

Set the values to be inserted.

参数

row_values

Values (an array) of columns to insert.

返回值

A TableInsert object.

范例

Example #1 mysql_xdevapi\TableInsert::values() example

<?php

$res 
$table->insert("name""age")->values(["Oracila"1800])->execute();

?>

mysql_xdevapi\TableInsert
PHP Manual