Searched refs:strSchema (Results 1 - 5 of 5) sorted by relevance
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/storage/ |
H A D | distributeddb_sqlite_utils_test.cpp | 336 std::string strSchema; in HWTEST_F() local 337 EXPECT_EQ(-E_INVALID_DB, SQLiteUtils::SaveSchema(nullptr, strSchema)); in HWTEST_F() 338 EXPECT_EQ(-E_INVALID_DB, SQLiteUtils::GetSchema(nullptr, strSchema)); in HWTEST_F() 348 EXPECT_EQ(-E_INVALID_DB, SQLiteUtils::CloneIndexes(nullptr, strSchema, strSchema)); in HWTEST_F() 349 EXPECT_EQ(-E_INVALID_DB, SQLiteUtils::GetRelationalSchema(nullptr, strSchema)); in HWTEST_F() 350 EXPECT_EQ(-E_INVALID_DB, SQLiteUtils::GetLogTableVersion(nullptr, strSchema)); in HWTEST_F() 351 EXPECT_EQ(-E_INVALID_DB, SQLiteUtils::RegisterFlatBufferFunction(nullptr, strSchema)); in HWTEST_F() 352 EXPECT_EQ(-E_INTERNAL_ERROR, SQLiteUtils::RegisterFlatBufferFunction(g_db, strSchema)); in HWTEST_F() 353 EXPECT_EQ(-E_INVALID_ARGS, SQLiteUtils::ExpandedSql(nullptr, strSchema)); in HWTEST_F() 375 std::string strSchema; HWTEST_F() local [all...] |
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/sqlite/ |
H A D | sqlite_utils.h | 117 static int SaveSchema(sqlite3 *db, const std::string &strSchema); 119 static int GetSchema(sqlite3 *db, std::string &strSchema);
|
H A D | sqlite_utils.cpp | 1203 int SQLiteUtils::SaveSchema(sqlite3 *db, const std::string &strSchema) in SaveSchema() argument 1225 DBCommon::StringToVector(strSchema, schemaValue); in SaveSchema() 1243 int SQLiteUtils::GetSchema(sqlite3 *db, std::string &strSchema) in GetSchema() argument 1286 DBCommon::VectorToString(schemaValue, strSchema); in GetSchema()
|
/foundation/distributeddatamgr/kv_store/frameworks/jskitsimpl/distributeddata/src/ |
H A D | js_util.cpp | 953 std::string strSchema; in GetValue() local 955 CHECK_RETURN((status == napi_ok || GetNamedProperty(env, in, "schema", strSchema, true) == napi_ok), in GetValue()
|
/foundation/distributeddatamgr/kv_store/frameworks/jskitsimpl/distributedkvstore/src/ |
H A D | js_util.cpp | 1024 std::string strSchema; in GetValue() local 1026 ASSERT((statusMsg.status == napi_ok || GetNamedProperty(env, in, "schema", strSchema, true) == napi_ok), in GetValue()
|
Completed in 9 milliseconds