Home
last modified time | relevance | path

Searched refs:ON_CONFLICT_ROLLBACK (Results 1 - 10 of 10) sorted by relevance

/foundation/distributeddatamgr/relational_store/interfaces/inner_api/rdb/include/
H A Drdb_common.h26 ON_CONFLICT_ROLLBACK, member in OHOS::NativeRdb::ConflictResolution
/foundation/distributeddatamgr/relational_store/test/js/relationalstore/unittest/src/
H A DRdbstoreInsertJsunit.test.js542 * @tc.name Abnormal test case of insert with ON_CONFLICT_ROLLBACK, if primary key conflict
543 * @tc.desc 1.Insert data with ON_CONFLICT_ROLLBACK
547 * 5.Insert data with ON_CONFLICT_ROLLBACK (conflict "id")
561 await rdbStore.insert("test", valueBucket, data_relationalStore.ConflictResolution.ON_CONFLICT_ROLLBACK);
582 await rdbStore.insert("test", valueBucket, data_relationalStore.ConflictResolution.ON_CONFLICT_ROLLBACK);
H A DRdbstoreInsertSyncJsUnit.test.js522 * @tc.name Abnormal test case of insert with ON_CONFLICT_ROLLBACK, if primary key conflict
523 * @tc.desc 1.Insert data with ON_CONFLICT_ROLLBACK
527 * 5.Insert data with ON_CONFLICT_ROLLBACK (conflict "id")
541 rdbStore.insertSync("test", valueBucket, data_relationalStore.ConflictResolution.ON_CONFLICT_ROLLBACK);
562 rdbStore.insertSync("test", valueBucket, data_relationalStore.ConflictResolution.ON_CONFLICT_ROLLBACK);
H A DRdbstoreUpdateSyncJsunit.test.js706 * @tc.name Normal test case of update with ON_CONFLICT_ROLLBACK
709 * 3.Execute update with ON_CONFLICT_ROLLBACK
753 let ret = rdbStore.updateSync(valueBucket, predicates, data_relationalStore.ConflictResolution.ON_CONFLICT_ROLLBACK);
807 * @tc.name Abnormal test case of update with ON_CONFLICT_ROLLBACK
812 * 5.Update data with ON_CONFLICT_ROLLBACK
866 rdbStore.updateSync(valueBucket, predicates, data_relationalStore.ConflictResolution.ON_CONFLICT_ROLLBACK);
H A DRdbstoreUpdateJsunit.test.js708 * @tc.name Normal test case of update with ON_CONFLICT_ROLLBACK
711 * 3.Execute update with ON_CONFLICT_ROLLBACK
755 let ret = await rdbStore.update(valueBucket, predicates, data_relationalStore.ConflictResolution.ON_CONFLICT_ROLLBACK);
809 * @tc.name Abnormal test case of update with ON_CONFLICT_ROLLBACK
814 * 5.Update data with ON_CONFLICT_ROLLBACK
868 await rdbStore.update(valueBucket, predicates, data_relationalStore.ConflictResolution.ON_CONFLICT_ROLLBACK);
/foundation/distributeddatamgr/relational_store/test/native/rdb/unittest/
H A Drdb_insert_test.cpp599 int ret = store->InsertWithConflictResolution(id, "test", values, ConflictResolution::ON_CONFLICT_ROLLBACK); in HWTEST_F()
609 ret = store->InsertWithConflictResolution(id, "test", values, ConflictResolution::ON_CONFLICT_ROLLBACK); in HWTEST_F()
H A Drdb_update_test.cpp576 ConflictResolution::ON_CONFLICT_ROLLBACK); in HWTEST_F()
626 ConflictResolution::ON_CONFLICT_ROLLBACK); in HWTEST_F()
H A Drdb_trans_db_test.cpp292 std::tie(errCode, rowId) = transDB_->Insert(TABLE_NAME, row, ConflictResolution::ON_CONFLICT_ROLLBACK); in HWTEST_F()
573 ConflictResolution::ON_CONFLICT_ROLLBACK); in HWTEST_F()
/foundation/distributeddatamgr/relational_store/frameworks/js/napi/relationalstore/src/
H A Dnapi_rdb_const_properties.cpp180 SET_NAPI_PROPERTY(conflictResolution, "ON_CONFLICT_ROLLBACK", int32_t(ConflictResolution::ON_CONFLICT_ROLLBACK)); in ExportConflictResolution()
/foundation/distributeddatamgr/relational_store/test/native/relational_store_test/unittest/
H A Drelational_store_test.cpp1177 int ret = store->InsertWithConflictResolution(id, "test", values, ConflictResolution::ON_CONFLICT_ROLLBACK); in HWTEST_F()
1187 ret = store->InsertWithConflictResolution(id, "test", values, ConflictResolution::ON_CONFLICT_ROLLBACK); in HWTEST_F()
1707 ConflictResolution::ON_CONFLICT_ROLLBACK); in HWTEST_F()
1757 ConflictResolution::ON_CONFLICT_ROLLBACK); in HWTEST_F()

Completed in 11 milliseconds