Skip to content

Commit

Permalink
Also add a note that clob does not work in the compare array
Browse files Browse the repository at this point in the history
Conflicts:
	lib/private/appframework/db/db.php
  • Loading branch information
nickvergessen committed Mar 16, 2015
1 parent 97a65e1 commit 9ad48e0
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/private/db/adapter.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ public function fixupStatement($statement) {
* @param array $input data that should be inserted into the table (column name => value)
* @param array|null $compare List of values that should be checked for "if not exists"
* If this is null or an empty array, all keys of $input will be compared
* Please note: text fields (clob) must not be used in the compare array
* @return int number of inserted rows
* @throws \Doctrine\DBAL\DBALException
*/
Expand Down
1 change: 1 addition & 0 deletions lib/private/db/adaptersqlite.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ public function fixupStatement($statement) {
* @param array $input data that should be inserted into the table (column name => value)
* @param array|null $compare List of values that should be checked for "if not exists"
* If this is null or an empty array, all keys of $input will be compared
* Please note: text fields (clob) must not be used in the compare array
* @return int number of inserted rows
* @throws \Doctrine\DBAL\DBALException
*/
Expand Down
1 change: 1 addition & 0 deletions lib/private/db/connection.php
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,7 @@ public function realLastInsertId($seqName = null) {
* @param array $input data that should be inserted into the table (column name => value)
* @param array|null $compare List of values that should be checked for "if not exists"
* If this is null or an empty array, all keys of $input will be compared
* Please note: text fields (clob) must not be used in the compare array
* @return int number of inserted rows
* @throws \Doctrine\DBAL\DBALException
*/
Expand Down
1 change: 1 addition & 0 deletions lib/public/idbconnection.php
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ public function lastInsertId($table = null);
* @param array $input data that should be inserted into the table (column name => value)
* @param array|null $compare List of values that should be checked for "if not exists"
* If this is null or an empty array, all keys of $input will be compared
* Please note: text fields (clob) must not be used in the compare array
* @return int number of inserted rows
* @throws \Doctrine\DBAL\DBALException
*/
Expand Down

0 comments on commit 9ad48e0

Please sign in to comment.