Browse Source

Also add a note that clob does not work in the compare array

tags/v8.1.0alpha1
Joas Schilling 9 years ago
parent
commit
c2a5bd6a01

+ 1
- 0
lib/private/appframework/db/db.php View File

@@ -127,6 +127,7 @@ class Db implements IDb {
* @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
*/

+ 1
- 0
lib/private/db/adapter.php View File

@@ -46,6 +46,7 @@ class Adapter {
* @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
*/

+ 1
- 0
lib/private/db/adaptersqlite.php View File

@@ -25,6 +25,7 @@ class AdapterSqlite extends Adapter {
* @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
*/

+ 1
- 0
lib/private/db/connection.php View File

@@ -163,6 +163,7 @@ class Connection extends \Doctrine\DBAL\Connection implements IDBConnection {
* @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
*/

+ 1
- 0
lib/public/idbconnection.php View File

@@ -83,6 +83,7 @@ interface IDBConnection {
* @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
*/

Loading…
Cancel
Save