Home
last modified time | relevance | path

Searched refs:ON_CONFLICT_IGNORE (Results 1 - 7 of 7) sorted by relevance

/foundation/distributeddatamgr/relational_store/interfaces/inner_api/rdb/include/
H A Drdb_common.h32 ON_CONFLICT_IGNORE, member in OHOS::NativeRdb::ConflictResolution
/foundation/distributeddatamgr/relational_store/test/js/relationalstore/unittest/src/
H A DRdbstoreInsertJsunit.test.js604 * @tc.name Normal test case of insert with ON_CONFLICT_IGNORE, if primary key conflict
605 * @tc.desc 1.Insert data with ON_CONFLICT_IGNORE
606 * 2.Insert data with ON_CONFLICT_IGNORE (conflict "id")
621 await rdbStore.insert("test", valueBucket, data_relationalStore.ConflictResolution.ON_CONFLICT_IGNORE);
632 await rdbStore.insert("test", valueBucket, data_relationalStore.ConflictResolution.ON_CONFLICT_IGNORE);
H A DRdbstoreInsertSyncJsUnit.test.js584 * @tc.name Normal test case of insert with ON_CONFLICT_IGNORE, if primary key conflict
585 * @tc.desc 1.Insert data with ON_CONFLICT_IGNORE
586 * 2.Insert data with ON_CONFLICT_IGNORE (conflict "id")
601 rdbStore.insertSync("test", valueBucket, data_relationalStore.ConflictResolution.ON_CONFLICT_IGNORE);
612 rdbStore.insertSync("test", valueBucket, data_relationalStore.ConflictResolution.ON_CONFLICT_IGNORE);
/foundation/distributeddatamgr/relational_store/test/native/rdb/unittest/
H A Drdb_insert_test.cpp630 int ret = store->InsertWithConflictResolution(id, "test", values, ConflictResolution::ON_CONFLICT_IGNORE); in HWTEST_F()
640 ret = store->InsertWithConflictResolution(id, "test", values, ConflictResolution::ON_CONFLICT_IGNORE); in HWTEST_F()
H A Drdb_trans_db_test.cpp211 std::tie(errCode, rowId) = transDB_->Insert(TABLE_NAME, row, ConflictResolution::ON_CONFLICT_IGNORE); in HWTEST_F()
/foundation/distributeddatamgr/relational_store/frameworks/js/napi/relationalstore/src/
H A Dnapi_rdb_const_properties.cpp183 SET_NAPI_PROPERTY(conflictResolution, "ON_CONFLICT_IGNORE", int32_t(ConflictResolution::ON_CONFLICT_IGNORE)); in ExportConflictResolution()
/foundation/distributeddatamgr/relational_store/test/native/relational_store_test/unittest/
H A Drelational_store_test.cpp1210 int ret = store->InsertWithConflictResolution(id, "test", values, ConflictResolution::ON_CONFLICT_IGNORE); in HWTEST_F()
1220 ret = store->InsertWithConflictResolution(id, "test", values, ConflictResolution::ON_CONFLICT_IGNORE); in HWTEST_F()

Completed in 8 milliseconds