Home
last modified time | relevance | path

Searched refs:hasPrimaryKey (Results 1 – 3 of 3) sorted by relevance

/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/cloud/
H A Dschema_mgr.cpp184 bool hasPrimaryKey = DBCommon::HasPrimaryKey(tableSchema.fields); in SetCloudDbSchema() local
186 … Field ownerField = { CloudDbConstant::CLOUD_OWNER, TYPE_INDEX<std::string>, hasPrimaryKey, true }; in SetCloudDbSchema()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/sqlite/relational/
H A Dsqlite_single_ver_relational_storage_extend_executor.cpp633 bool hasPrimaryKey = false; in CreateSharedTable() local
640 hasPrimaryKey = true; in CreateSharedTable()
643 if (hasPrimaryKey) { in CreateSharedTable()
H A Dsqlite_relational_store.cpp1023 bool hasPrimaryKey = DBCommon::HasPrimaryKey(fields); in PrepareSharedTable() local
1024 Field ownerField = { CloudDbConstant::CLOUD_OWNER, TYPE_INDEX<std::string>, hasPrimaryKey }; in PrepareSharedTable()