Project

General

Profile

Actions

Bug #89538

closed

Wrong comment for bulkInsert in Connection class

Added by Stefan Froemken over 4 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Database API (Doctrine DBAL)
Target version:
Start date:
2019-10-30
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
10
PHP Version:
7.2
Tags:
Complexity:
no-brainer
Is Regression:
No
Sprint Focus:

Description

Hello,

in annotation of method bulkInsert there is a wrong description of third parameter:

@param array $columns An array containing associative arrays of column-value pairs.

It looks like you have to set column names as key into the array, but that is wrong, they have to be the value of the array.

Stefan

https://docs.typo3.org/m/typo3/reference-coreapi/master/en-us/ApiOverview/Database/Connection/Index.html#bulkinsert

Actions

Also available in: Atom PDF