Skip to content

Commit 3a037e2

Browse files
committed
Docs.
1 parent 30dca5b commit 3a037e2

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

src/wp-includes/class-wpdb.php

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2567,15 +2567,15 @@ public function insert( $table, $data, $format = null ) {
25672567
*
25682568
* @since x.y.z
25692569
*
2570-
* @param string $table Table name.
2571-
* @param list<string> $columns Array of column names.
2572-
* @param list<list<mixed>> $rows Array of rows of values to insert. Values should be "raw" (should not be SQL escaped).
2573-
* Sending a null value will cause the column to be set to NULL - the corresponding
2574-
* format is ignored in this case.
2575-
* @param string[] $format Optional. An array of formats to be mapped to each of the values in each row.
2576-
* A format is one of '%d', '%f', '%s' (integer, float, string).
2577-
* If omitted, all values in `$data` will be treated as strings unless otherwise
2578-
* specified in wpdb::$field_types. Default empty array.
2570+
* @param string $table Table name.
2571+
* @param string[] $columns Array of column names.
2572+
* @param array $rows Array of rows of values to insert. Values should be "raw" (should not be SQL escaped).
2573+
* Sending a null value will cause the column to be set to NULL - the corresponding
2574+
* format is ignored in this case.
2575+
* @param string[] $format Optional. An array of formats to be mapped to each of the values in each row.
2576+
* A format is one of '%d', '%f', '%s' (integer, float, string).
2577+
* If omitted, all values in `$data` will be treated as strings unless otherwise
2578+
* specified in wpdb::$field_types. Default empty array.
25792579
* @return int|false The number of rows inserted, or false on error.
25802580
*/
25812581
public function insert_multiple( string $table, array $columns, array $rows, array $format = array() ) {

0 commit comments

Comments
 (0)