Home
last modified time | relevance | path

Searched refs:SetPrimaryKey (Results 1 – 7 of 7) sorted by relevance

/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/storage/
H A Ddistributeddb_cloud_schema_mgr_test.cpp281 table.SetPrimaryKey(FIELD_NAME_1, 1);
306 table.SetPrimaryKey(FIELD_NAME_1, 1);
335 table.SetPrimaryKey(FIELD_NAME_1, 1);
336 table.SetPrimaryKey(FIELD_NAME_3, 2);
363 table.SetPrimaryKey(FIELD_NAME_1, 1);
391 table.SetPrimaryKey(FIELD_NAME_1, 1);
419 table.SetPrimaryKey(FIELD_NAME_1, 1);
446 table.SetPrimaryKey(FIELD_NAME_1, 1);
470 table.SetPrimaryKey(FIELD_NAME_1, 1);
531 table.SetPrimaryKey(FIELD_NAME_1, 1);
[all …]
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/interfaces/
H A Ddistributeddb_interfaces_log_test.cpp78 tableInfo.SetPrimaryKey("key2", 1);
79 tableInfo.SetPrimaryKey("key3", 2);
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/include/relational/
H A Dtable_info.h96 void SetPrimaryKey(const std::map<int, FieldName> &key);
97 void SetPrimaryKey(const FieldName &fieldName, int keyIndex);
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/common/
H A Ddistributeddb_relational_schema_object_test.cpp913 table1.SetPrimaryKey("test", keyIndex);
925 table1.SetPrimaryKey(keyName1);
939 table1.SetPrimaryKey(keyName2);
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/src/relational/
H A Dtable_info.cpp367 void TableInfo::SetPrimaryKey(const std::map<int, FieldName> &key) in SetPrimaryKey() function in DistributedDB::TableInfo
372 void TableInfo::SetPrimaryKey(const FieldName &fieldName, int keyIndex) in SetPrimaryKey() function in DistributedDB::TableInfo
H A Drelational_schema_object.cpp823 resultTable.SetPrimaryKey(fieldValue.stringValue, 1); in ParseCheckTablePrimaryKey()
831 resultTable.SetPrimaryKey(item, index++); in ParseCheckTablePrimaryKey()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/sqlite/
H A Dsqlite_utils.cpp869 table.SetPrimaryKey(field.GetFieldName(), keyIndex); in SetFieldInfo()
904 table.SetPrimaryKey("rowid", 1); in AnalysisSchemaFieldDefine()