/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/cloud/ |
H A D | schema_mgr.cpp | 54 std::map<int, FieldName> primaryKeys = tableInfo.GetPrimaryKey(); in ChkSchema() local 56 return CompareFieldSchema(primaryKeys, localFields, cloudTableSchema.fields); in ChkSchema() 59 int SchemaMgr::CompareFieldSchema(std::map<int, FieldName> &primaryKeys, FieldInfoMap &localFields, in CompareFieldSchema() argument 81 if (!ComparePrimaryField(primaryKeys, cloudField)) { in CompareFieldSchema() 87 …if (!primaryKeys.empty() && !(primaryKeys.size() == 1 && primaryKeys[0] == CloudDbConstant::ROW_ID… in CompareFieldSchema()
|
H A D | cloud_storage_utils.cpp | 776 const std::map<int, FieldName> &primaryKeys = table.GetPrimaryKey(); in ConstraintsCheckForCloud() local 778 for (const auto &item : primaryKeys) { in ConstraintsCheckForCloud()
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/include/cloud/ |
H A D | schema_mgr.h | 44 int CompareFieldSchema(std::map<int, FieldName> &primaryKeys, FieldInfoMap &localFields,
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/ |
H A D | data_transformer.h | 85 VBucket primaryKeys; member
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/storage/cloud/ |
H A D | distributeddb_cloud_save_cloud_data_test.cpp | 291 … EXPECT_EQ(CloudStorageUtils::GetValueFromVBucket("id", dataInfoWithLog.primaryKeys, val), E_OK); in GetInfoByPrimaryKeyOrGidTest() 293 … EXPECT_TRUE(dataInfoWithLog.primaryKeys.find("id") != dataInfoWithLog.primaryKeys.end()); in GetInfoByPrimaryKeyOrGidTest() 295 …EXPECT_EQ(CloudStorageUtils::GetValueFromVBucket("name", dataInfoWithLog.primaryKeys, name), E_OK); in GetInfoByPrimaryKeyOrGidTest() 298 EXPECT_EQ(dataInfoWithLog.primaryKeys.size(), 0u); in GetInfoByPrimaryKeyOrGidTest()
|
/ohos5.0/docs/zh-cn/release-notes/changelogs/OpenHarmony_5.0.0.21/ |
H A D | changelogs-distributeddatamgr.md | 109 …- getModifyTime(table: string, columnName: string, primaryKeys: PRIKeyType[]): Promise<ModifyTime>; 113 primaryKeys: PRIKeyType[],
|
/ohos5.0/docs/zh-cn/release-notes/api-diff/v4.0-beta2/ |
H A D | js-apidiff-distributed-data.md | 81 |新增|NA|类名:RdbStore;<br>方法or属性:getModifyTime(table: string, columnName: string, primaryKeys: PRIKeyT… 82 …ifyTime(<br> table: string,<br> columnName: string,<br> primaryKeys: PRIKeyType[],<…
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/relational/ |
H A D | relational_sync_able_storage.cpp | 1813 std::set<std::vector<uint8_t>> primaryKeys; in UpsertDataInTransaction() local 1830 primaryKeys.find(hashValue) == primaryKeys.end()) { in UpsertDataInTransaction() 1835 primaryKeys.insert(hashValue); in UpsertDataInTransaction()
|
/ohos5.0/docs/en/release-notes/api-diff/v4.0-beta2/ |
H A D | js-apidiff-distributed-data.md | 81 …od or attribute name: getModifyTime(table: string, columnName: string, primaryKeys: PRIKeyType[]):… 82 …ifyTime(<br> table: string,<br> columnName: string,<br> primaryKeys: PRIKeyType[],<…
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/syncer/src/cloud/ |
H A D | cloud_sync_utils.cpp | 203 …ret = CloudSyncUtils::GetCloudPkVals(localInfo.primaryKeys, changedData.field, localInfo.logInfo.d… in SaveChangedDataByType()
|
H A D | cloud_syncer.cpp | 789 int ret = CloudSyncUtils::GetCloudPkVals(isDelStrategy ? dataInfo.localInfo.primaryKeys : in HandleTagAssets()
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/sqlite/relational/ |
H A D | sqlite_single_ver_relational_storage_executor_extend.cpp | 139 errCode = PutVBucketByType(dataInfoWithLog.primaryKeys, item.second, cloudValue); in GetInfoByStatement()
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/sqlite/ |
H A D | sqlite_cloud_kv_executor_utils.cpp | 358 dataInfoWithLog.primaryKeys.insert_or_assign(CloudDbConstant::CLOUD_KV_FIELD_KEY, keyStr); in FillLogInfoWithStmt()
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkdata/ |
H A D | js-apis-data-relationalStore.md | 4626 getModifyTime(table: string, columnName: string, primaryKeys: PRIKeyType[], callback: AsyncCallback… 4638 | primaryKeys | [PRIKeyType](#prikeytype10)[] | 是 | 指定要查询的行的主键。<br>如果数据库表无主键,参… 4685 getModifyTime(table: string, columnName: string, primaryKeys: PRIKeyType[]): Promise<ModifyTime&… 4697 | primaryKeys | [PRIKeyType](#prikeytype10)[] | 是 | 指定要查询的行的主键。<br>如果数据库表无主键,参数columnName需传入"rowi…
|
/ohos5.0/docs/zh-cn/release-notes/api-diff/v4.0-Release to v3.2-Release/ |
H A D | js-apidiff-distributed-data.md | 145 |新增|NA|类名:RdbStore;<br>方法or属性:getModifyTime(table: string, columnName: string, primaryKeys: PRIKeyT… 146 …ifyTime(<br> table: string,<br> columnName: string,<br> primaryKeys: PRIKeyType[],<…
|
/ohos5.0/docs/en/application-dev/reference/apis-arkdata/ |
H A D | js-apis-data-relationalStore.md | 4599 getModifyTime(table: string, columnName: string, primaryKeys: PRIKeyType[], callback: AsyncCallback… 4611 …primaryKeys | [PRIKeyType](#prikeytype10)[] | Yes | Primary keys of the rows t… 4658 getModifyTime(table: string, columnName: string, primaryKeys: PRIKeyType[]): Promise<ModifyTime&… 4670 …primaryKeys | [PRIKeyType](#prikeytype10)[] | Yes | Primary keys of the rows to query.<br>If the …
|
/ohos5.0/docs/en/release-notes/api-diff/v4.0-Release-vs-v3.2-Release/ |
H A D | js-apidiff-distributed-data.md | 145 …od or attribute name: getModifyTime(table: string, columnName: string, primaryKeys: PRIKeyType[]):… 146 …ifyTime(<br> table: string,<br> columnName: string,<br> primaryKeys: PRIKeyType[],<…
|