Home
last modified time | relevance | path

Searched refs:ON_CONFLICT_REPLACE (Results 1 - 22 of 22) sorted by relevance

/foundation/distributeddatamgr/relational_store/interfaces/inner_api/rdb/include/
H A Drdb_common.h34 ON_CONFLICT_REPLACE, member in OHOS::NativeRdb::ConflictResolution
/foundation/ability/form_fwk/services/src/
H A Dform_rdb_data_mgr.cpp186 NativeRdb::ConflictResolution::ON_CONFLICT_REPLACE); in InsertData()
200 NativeRdb::ConflictResolution::ON_CONFLICT_REPLACE); in InsertData()
232 NativeRdb::ConflictResolution::ON_CONFLICT_REPLACE); in InsertData()
246 NativeRdb::ConflictResolution::ON_CONFLICT_REPLACE); in InsertData()
587 rowId, tableName, valuesBucket, NativeRdb::ConflictResolution::ON_CONFLICT_REPLACE); in InsertData()
600 rowId, tableName, valuesBucket, NativeRdb::ConflictResolution::ON_CONFLICT_REPLACE); in InsertData()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/rdb/
H A Drdb_data_manager.cpp145 rowId, bmsRdbConfig_.tableName, valuesBucket, NativeRdb::ConflictResolution::ON_CONFLICT_REPLACE); in InsertData()
160 rowId, bmsRdbConfig_.tableName, valuesBucket, NativeRdb::ConflictResolution::ON_CONFLICT_REPLACE); in InsertData()
232 rowIdInsert, bmsRdbConfig_.tableName, valuesBucket, NativeRdb::ConflictResolution::ON_CONFLICT_REPLACE); in UpdateOrInsertData()
/foundation/ability/ability_runtime/services/abilitymgr/src/rdb/
H A Drdb_data_manager.cpp53 rowId, amsRdbConfig_.tableName, valuesBucket, NativeRdb::ConflictResolution::ON_CONFLICT_REPLACE); in InsertData()
/foundation/communication/netmanager_base/services/netconnmanager/src/
H A Dnet_proxy_userinfo.cpp102 ConflictResolution::ON_CONFLICT_REPLACE); in SaveHttpProxyHostPass()
/foundation/distributeddatamgr/relational_store/test/native/rdb/unittest/
H A Drdb_insert_test.cpp658 id, "test", UTUtils::SetRowData(UTUtils::g_rowData[0]), ConflictResolution::ON_CONFLICT_REPLACE); in HWTEST_F()
668 ret = store->InsertWithConflictResolution(id, "test", values, ConflictResolution::ON_CONFLICT_REPLACE); in HWTEST_F()
720 id, "test", UTUtils::SetRowData(UTUtils::g_rowData[0]), ConflictResolution::ON_CONFLICT_REPLACE); in HWTEST_F()
730 ret = store->InsertWithConflictResolution(id, "test", values, ConflictResolution::ON_CONFLICT_REPLACE); in HWTEST_F()
H A Drdb_trans_db_test.cpp184 std::tie(errCode, rowId) = transDB_->Insert(TABLE_NAME, row, ConflictResolution::ON_CONFLICT_REPLACE); in HWTEST_F()
187 std::tie(errCode, rowId) = transDB_->Insert(TABLE_NAME, row, ConflictResolution::ON_CONFLICT_REPLACE); in HWTEST_F()
357 errCode = transDB_->InsertWithConflictResolution(rowId, TABLE_NAME, row, ConflictResolution::ON_CONFLICT_REPLACE); in HWTEST_F()
360 errCode = transDB_->InsertWithConflictResolution(rowId, TABLE_NAME, row, ConflictResolution::ON_CONFLICT_REPLACE); in HWTEST_F()
H A Drdb_update_test.cpp675 ConflictResolution::ON_CONFLICT_REPLACE); in HWTEST_F()
723 ConflictResolution::ON_CONFLICT_REPLACE); in HWTEST_F()
/foundation/ai/intelligent_voice_framework/services/intell_voice_trigger/server/
H A Dtrigger_db_helper.cpp119 int ret = store_->InsertWithConflictResolution(rowId, TABLE_NAME, values, ConflictResolution::ON_CONFLICT_REPLACE); in UpdateGenericTriggerModel()
/foundation/distributeddatamgr/relational_store/test/js/relationalstore/unittest/src/
H A DRdbstoreInsertJsunit.test.js655 * @tc.name Normal test case of insert with ON_CONFLICT_REPLACE, if primary key conflict
656 * @tc.desc 1.Insert data with ON_CONFLICT_REPLACE
658 * 3.Insert data with ON_CONFLICT_REPLACE (conflict "id")
672 await rdbStore.insert("test", valueBucket, data_relationalStore.ConflictResolution.ON_CONFLICT_REPLACE);
697 await rdbStore.insert("test", valueBucket, data_relationalStore.ConflictResolution.ON_CONFLICT_REPLACE);
H A DRdbstoreInsertSyncJsUnit.test.js635 * @tc.name Normal test case of insert with ON_CONFLICT_REPLACE, if primary key conflict
636 * @tc.desc 1.Insert data with ON_CONFLICT_REPLACE
638 * 3.Insert data with ON_CONFLICT_REPLACE (conflict "id")
652 rdbStore.insertSync("test", valueBucket, data_relationalStore.ConflictResolution.ON_CONFLICT_REPLACE);
677 rdbStore.insertSync("test", valueBucket, data_relationalStore.ConflictResolution.ON_CONFLICT_REPLACE);
H A DRdbstoreUpdateSyncJsunit.test.js928 * @tc.name Normal test case of insert with ON_CONFLICT_REPLACE
931 * 3.Execute update with ON_CONFLICT_REPLACE
975 let ret = rdbStore.updateSync(valueBucket, predicates, data_relationalStore.ConflictResolution.ON_CONFLICT_REPLACE);
1029 * @tc.name Normal test case of update partial data with ON_CONFLICT_REPLACE
1032 * 3.Execute update with ON_CONFLICT_REPLACE
1074 let ret = rdbStore.updateSync(valueBucket, predicates, data_relationalStore.ConflictResolution.ON_CONFLICT_REPLACE);
H A DRdbstoreUpdateJsunit.test.js930 * @tc.name Normal test case of insert with ON_CONFLICT_REPLACE
933 * 3.Execute update with ON_CONFLICT_REPLACE
977 let ret = await rdbStore.update(valueBucket, predicates, data_relationalStore.ConflictResolution.ON_CONFLICT_REPLACE);
1031 * @tc.name Normal test case of update partial data with ON_CONFLICT_REPLACE
1034 * 3.Execute update with ON_CONFLICT_REPLACE
1076 let ret = await rdbStore.update(valueBucket, predicates, data_relationalStore.ConflictResolution.ON_CONFLICT_REPLACE);
H A DRdbStoreTransaction.test.js549 var num = await transaction.insertSync("test", valueBucket, data_relationalStore.ConflictResolution.ON_CONFLICT_REPLACE);
/foundation/bundlemanager/app_domain_verify/services/src/manager/rdb/
H A Dapp_domain_verify_rdb_data_manager.cpp78 rowId, appDomainVerifyRdbConfig_.tableName, valuesBucket, NativeRdb::ConflictResolution::ON_CONFLICT_REPLACE); in InsertData()
/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/src/
H A Dtrans_db.cpp50 if (val.GetType() == ValueObject::TYPE_ASSETS && resolution == ConflictResolution::ON_CONFLICT_REPLACE) { in Insert()
H A Drdb_store.cpp134 auto [errCode, rowid] = Insert(table, row, Resolution::ON_CONFLICT_REPLACE); in Replace()
H A Drdb_store_impl.cpp963 if (val.GetType() == ValueObject::TYPE_ASSETS && resolution == ConflictResolution::ON_CONFLICT_REPLACE) { in Insert()
/foundation/distributeddatamgr/relational_store/frameworks/js/napi/relationalstore/src/
H A Dnapi_rdb_const_properties.cpp184 SET_NAPI_PROPERTY(conflictResolution, "ON_CONFLICT_REPLACE", int32_t(ConflictResolution::ON_CONFLICT_REPLACE)); in ExportConflictResolution()
H A Dnapi_transaction.cpp171 int max = static_cast<int32_t>(NativeRdb::ConflictResolution::ON_CONFLICT_REPLACE); in ParseConflictResolution()
H A Dnapi_rdb_store.cpp608 int max = static_cast<int32_t>(NativeRdb::ConflictResolution::ON_CONFLICT_REPLACE); in ParseConflictResolution()
/foundation/distributeddatamgr/relational_store/test/native/relational_store_test/unittest/
H A Drelational_store_test.cpp1244 int ret = store->InsertWithConflictResolution(id, "test", values, ConflictResolution::ON_CONFLICT_REPLACE); in HWTEST_F()
1254 ret = store->InsertWithConflictResolution(id, "test", values, ConflictResolution::ON_CONFLICT_REPLACE); in HWTEST_F()
1806 ConflictResolution::ON_CONFLICT_REPLACE); in HWTEST_F()
1854 ConflictResolution::ON_CONFLICT_REPLACE); in HWTEST_F()

Completed in 27 milliseconds