Home
last modified time | relevance | path

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

/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/gaussdb_rd/src/oh_adapter/src/
H A Dsqlite_store_executor_impl.cpp144 std::string sql = "INSERT INTO '" + collName + "' VALUES (?,?);"; in InsertData()
171 std::string sql = "SELECT value FROM '" + collName + "' WHERE key=?;"; in GetDataByKey()
198 std::string sql = "SELECT value FROM '" + collName + "' WHERE key=?;"; in GetDataById()
250 std::string sql = GeneralInsertSql(collName, key, isIdExist); in GetDataByFilter()
299 if (GetDataByKey(collName, key, valueRet) != E_OK) { in DelData()
302 std::string sql = "DELETE FROM '" + collName + "' WHERE key=?;"; in DelData()
325 std::string collName = RdDBConstant::COLL_PREFIX + name; in CreateCollection() local
327 bool isExists = IsCollectionExists(collName, errCode); in CreateCollection()
357 std::string collName = RdDBConstant::COLL_PREFIX + name; in DropCollection() local
360 bool isExists = IsCollectionExists(collName, errCode); in DropCollection()
[all …]
H A Dsqlite_store_executor_impl.h40 …int PutData(const std::string &collName, Key &key, const Value &value, bool isNeedAddKeyType = tru…
41 …int InsertData(const std::string &collName, Key &key, const Value &value, bool isNeedAddKeyType = …
42 int GetDataByKey(const std::string &collName, Key &key, Value &value) const override;
43 int GetDataById(const std::string &collName, Key &key, Value &value) const override;
44 int GetDataByFilter(const std::string &collName, Key &key, const JsonObject &filterObj,
46 int DelData(const std::string &collName, Key &key) override;
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/gaussdb_rd/src/oh_adapter/include/
H A Dkv_store_executor.h32 …virtual int PutData(const std::string &collName, Key &key, const Value &value, bool isNeedAddKeyTy…
33 …virtual int InsertData(const std::string &collName, Key &key, const Value &value, bool isNeedAddKe…
34 virtual int GetDataByKey(const std::string &collName, Key &key, Value &value) const = 0;
35 virtual int GetDataById(const std::string &collName, Key &key, Value &value) const = 0;
36 virtual int GetDataByFilter(const std::string &collName, Key &key, const JsonObject &filterObj,
38 virtual int DelData(const std::string &collName, Key &key) = 0;
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/gaussdb_rd/
H A Drd_utils.h42 int GetCollNameFromType(SingleVerDataType type, std::string &collName);
H A Drd_utils.cpp105 int GetCollNameFromType(SingleVerDataType type, std::string &collName) in GetCollNameFromType() argument
109 collName = SYNC_COLLECTION_NAME; in GetCollNameFromType()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/fuzztest/json_fuzzer/
H A Djson_fuzzer.cpp447 void FindDocResultSetFuzz(const char *collName, const std::string filter, const std::string project… in FindDocResultSetFuzz() argument
451 GRD_FindDoc(g_db, collName, query, 1, &resultSet); in FindDocResultSetFuzz()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/fuzztest/jsoninner_fuzzer/
H A Djsoninner_fuzzer.cpp456 void FindDocResultSetFuzz(const char *collName, const std::string filter, const std::string project… in FindDocResultSetFuzz() argument
460 GRD_FindDocInner(g_db, collName, query, 1, &resultSet); in FindDocResultSetFuzz()