Home
last modified time | relevance | path

Searched refs:UpsertData (Results 1 – 16 of 16) sorted by relevance

/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/storage/cloud/
H A Ddistributeddb_cloud_assets_operation_sync_test.cpp724 EXPECT_EQ(delegate_->UpsertData(tableName_, { record }), OK);
726 EXPECT_EQ(delegate_->UpsertData(tableName_, { record }), OK);
803 EXPECT_EQ(delegate_->UpsertData(tableName_, { record }), OK);
844 EXPECT_EQ(delegate_->UpsertData(tableName_, records), OK);
910 EXPECT_EQ(delegate_->UpsertData("", { record }), INVALID_ARGS);
915 EXPECT_EQ(delegate_->UpsertData(tableName_ + "_shared", { record }), NOT_SUPPORT);
930 EXPECT_EQ(delegate_->UpsertData("testing", { record }), NOT_FOUND);
935 EXPECT_EQ(delegate_->UpsertData("TABLE_NOT_EXIST", { record }), NOT_FOUND);
990 EXPECT_EQ(delegate1->UpsertData(deviceTableName, { record }), NOT_FOUND);
H A Ddistributeddb_cloud_meta_data_test.cpp381 …EXPECT_EQ(obj.UpsertData(RecordStatus::WAIT_COMPENSATED_SYNC, TABLE_NAME_1, records), -E_INVALID_D…
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/sqlite/relational/
H A Dsqlite_relational_store_connection.h64 …int UpsertData(RecordStatus status, const std::string &tableName, const std::vector<VBucket> &reco…
H A Dsqlite_relational_store_connection.cpp412 int SQLiteRelationalStoreConnection::UpsertData(RecordStatus status, const std::string &tableName, in UpsertData() function in DistributedDB::SQLiteRelationalStoreConnection
420 return store->UpsertData(status, tableName, records); in UpsertData()
H A Dsqlite_relational_store.h106 …int UpsertData(RecordStatus status, const std::string &tableName, const std::vector<VBucket> &reco…
H A Dsqlite_relational_store.cpp1456 int SQLiteRelationalStore::UpsertData(RecordStatus status, const std::string &tableName, in UpsertData() function in DistributedDB::SQLiteRelationalStore
1467 return storageEngine_->UpsertData(status, tableName, records); in UpsertData()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/interfaces/src/relational/
H A Drelational_store_delegate_impl.h80 DBStatus UpsertData(const std::string &tableName, const std::vector<VBucket> &records,
H A Drelational_store_delegate_impl.cpp426 DBStatus RelationalStoreDelegateImpl::UpsertData(const std::string &tableName, const std::vector<VB… in UpsertData() function in DistributedDB::RelationalStoreDelegateImpl
433 int errCode = conn_->UpsertData(status, tableName, records); in UpsertData()
H A Drelational_sync_able_storage.h210 …int UpsertData(RecordStatus status, const std::string &tableName, const std::vector<VBucket> &reco…
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/include/
H A Drelational_store_connection.h80 …virtual int UpsertData(RecordStatus status, const std::string &tableName, const std::vector<VBucke…
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/interfaces/include/relational/
H A Drelational_store_delegate.h98 …DB_API virtual DBStatus UpsertData(const std::string &tableName, const std::vector<VBucket> &recor…
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/fuzztest/relationalstoredelegate_fuzzer/
H A Drelationalstoredelegate_fuzzer.cpp117 g_delegate->UpsertData(tableName, { records }, recordStatus); in MultiCombineTest()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/interfaces/
H A Ddistributeddb_cloud_interfaces_relational_ext_test.cpp1281 EXPECT_EQ(delegate->UpsertData(tableName, records, recordStatus), DB_ERROR);
1770 EXPECT_EQ(delegateImpl->UpsertData("", records, RecordStatus::WAIT_COMPENSATED_SYNC), DB_ERROR);
1814 …EXPECT_EQ(delegateImpl->UpsertData("", records, RecordStatus::WAIT_COMPENSATED_SYNC), INVALID_ARGS…
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/test/
H A Drdb_general_store_test.cpp205 …DBStatus UpsertData(const std::string &tableName, const std::vector<DistributedDB::VBucket> &recor… in UpsertData() function in OHOS::Test::DistributedRDBTest::MockRelationalStoreDelegate
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/rdb/
H A Drdb_general_store.cpp500 auto status = delegate_->UpsertData(tableName, ValueProxy::Convert(std::move(values))); in MergeMigratedData()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/relational/
H A Drelational_sync_able_storage.cpp1757 int RelationalSyncAbleStorage::UpsertData(RecordStatus status, const std::string &tableName, in UpsertData() function in DistributedDB::RelationalSyncAbleStorage