Loading core/java/android/database/sqlite/SQLiteDatabase.java +3 −4 Original line number Original line Diff line number Diff line Loading @@ -1431,10 +1431,9 @@ public final class SQLiteDatabase extends SQLiteClosable { * row. The keys should be the column names and the values the * row. The keys should be the column names and the values the * column values * column values * @param conflictAlgorithm for insert conflict resolver * @param conflictAlgorithm for insert conflict resolver * @return the row ID of the newly inserted row * @return the row ID of the newly inserted row OR <code>-1</code> if either the * OR the primary key of the existing row if the input param 'conflictAlgorithm' = * input parameter <code>conflictAlgorithm</code> = {@link #CONFLICT_IGNORE} * {@link #CONFLICT_IGNORE} * or an error occurred. * OR -1 if any error */ */ public long insertWithOnConflict(String table, String nullColumnHack, public long insertWithOnConflict(String table, String nullColumnHack, ContentValues initialValues, int conflictAlgorithm) { ContentValues initialValues, int conflictAlgorithm) { Loading Loading
core/java/android/database/sqlite/SQLiteDatabase.java +3 −4 Original line number Original line Diff line number Diff line Loading @@ -1431,10 +1431,9 @@ public final class SQLiteDatabase extends SQLiteClosable { * row. The keys should be the column names and the values the * row. The keys should be the column names and the values the * column values * column values * @param conflictAlgorithm for insert conflict resolver * @param conflictAlgorithm for insert conflict resolver * @return the row ID of the newly inserted row * @return the row ID of the newly inserted row OR <code>-1</code> if either the * OR the primary key of the existing row if the input param 'conflictAlgorithm' = * input parameter <code>conflictAlgorithm</code> = {@link #CONFLICT_IGNORE} * {@link #CONFLICT_IGNORE} * or an error occurred. * OR -1 if any error */ */ public long insertWithOnConflict(String table, String nullColumnHack, public long insertWithOnConflict(String table, String nullColumnHack, ContentValues initialValues, int conflictAlgorithm) { ContentValues initialValues, int conflictAlgorithm) { Loading