Home
last modified time | relevance | path

Searched refs:primaryKeys (Results 1 – 17 of 17) sorted by relevance

/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/cloud/
H A Dschema_mgr.cpp54 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 Dcloud_storage_utils.cpp776 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 Dschema_mgr.h44 int CompareFieldSchema(std::map<int, FieldName> &primaryKeys, FieldInfoMap &localFields,
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/
H A Ddata_transformer.h85 VBucket primaryKeys; member
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/storage/cloud/
H A Ddistributeddb_cloud_save_cloud_data_test.cpp291 … 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 Dchangelogs-distributeddatamgr.md109 …- 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 Djs-apidiff-distributed-data.md81 |新增|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 Drelational_sync_able_storage.cpp1813 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 Djs-apidiff-distributed-data.md81 …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 Dcloud_sync_utils.cpp203 …ret = CloudSyncUtils::GetCloudPkVals(localInfo.primaryKeys, changedData.field, localInfo.logInfo.d… in SaveChangedDataByType()
H A Dcloud_syncer.cpp789 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 Dsqlite_single_ver_relational_storage_executor_extend.cpp139 errCode = PutVBucketByType(dataInfoWithLog.primaryKeys, item.second, cloudValue); in GetInfoByStatement()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/sqlite/
H A Dsqlite_cloud_kv_executor_utils.cpp358 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 Djs-apis-data-relationalStore.md4626 getModifyTime(table: string, columnName: string, primaryKeys: PRIKeyType[], callback: AsyncCallback…
4638 | primaryKeys | [PRIKeyType](#prikeytype10)[] | 是 | 指定要查询的行的主键。<br>如果数据库表无主键,参…
4685 getModifyTime(table: string, columnName: string, primaryKeys: PRIKeyType[]): Promise&lt;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 Djs-apidiff-distributed-data.md145 |新增|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 Djs-apis-data-relationalStore.md4599 getModifyTime(table: string, columnName: string, primaryKeys: PRIKeyType[], callback: AsyncCallback…
4611primaryKeys | [PRIKeyType](#prikeytype10)[] | Yes | Primary keys of the rows t…
4658 getModifyTime(table: string, columnName: string, primaryKeys: PRIKeyType[]): Promise&lt;ModifyTime&…
4670primaryKeys | [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 Djs-apidiff-distributed-data.md145 …od or attribute name: getModifyTime(table: string, columnName: string, primaryKeys: PRIKeyType[]):…
146 …ifyTime(<br> table: string,<br> columnName: string,<br> primaryKeys: PRIKeyType[],<…