Home
last modified time | relevance | path

Searched refs:GRD_CreateCollection (Results 1 – 11 of 11) sorted by relevance

/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/gaussdb_rd/test/unittest/api/
H A Ddocumentdb_collection_test.cpp70 EXPECT_EQ(GRD_CreateCollection(nullptr, "student", "", 0), GRD_INVALID_ARGS);
87 EXPECT_EQ(GRD_CreateCollection(g_db, overLenName.c_str(), "", 0), GRD_OVER_LIMIT);
97 EXPECT_EQ(GRD_CreateCollection(g_db, it, "", 0), GRD_INVALID_ARGS);
105 EXPECT_EQ(GRD_CreateCollection(g_db, it, "", 0), GRD_INVALID_FORMAT);
126 EXPECT_EQ(GRD_CreateCollection(g_db, it, "", 0), GRD_OK);
140 EXPECT_EQ(GRD_CreateCollection(g_db, "student", "", 0), GRD_OK);
141 EXPECT_EQ(GRD_CreateCollection(g_db, "student", "", 0), GRD_OK);
166 EXPECT_EQ(GRD_CreateCollection(g_db, "student", opt, 0), GRD_INVALID_ARGS);
179 EXPECT_EQ(GRD_CreateCollection(g_db, "student", R""({"maxDoc":1024})"", 0), GRD_OK);
180 EXPECT_EQ(GRD_CreateCollection(g_db, "student", R""({"maxDoc":2048})"", 0), GRD_OK);
[all …]
H A Ddocumentdb_insert_test.cpp41 EXPECT_EQ(GRD_CreateCollection(g_db, collectionName, "", 0), expectedResult); in TestInsertDocIntoCertainColl()
66 EXPECT_EQ(GRD_CreateCollection(g_db, "student", "", 0), GRD_OK); in SetUpTestCase()
495 GRD_CreateCollection(g_db, collectionName.c_str(), "", 0);
504 GRD_CreateCollection(g_db, collectionName.c_str(), "", 0);
513 GRD_CreateCollection(g_db, collectionName.c_str(), "", 0);
522 GRD_CreateCollection(g_db, collectionName.c_str(), "", 0);
531 GRD_CreateCollection(g_db, collectionName.c_str(), "", 0);
540 GRD_CreateCollection(g_db, collectionName.c_str(), "", 0);
549 GRD_CreateCollection(g_db, collectionName.c_str(), "", 0);
H A Ddocumentdb_delete_test.cpp62 EXPECT_EQ(GRD_CreateCollection(g_db, "student", "", 0), GRD_OK); in SetUp()
270 EXPECT_EQ(GRD_CreateCollection(g_db, collectionName1.c_str(), "", 0), GRD_OK);
H A Ddocumentdb_find_test.cpp115 EXPECT_EQ(GRD_CreateCollection(g_db, COLLECTION_NAME, "", 0), GRD_OK); in SetUpTestCase()
128 EXPECT_EQ(GRD_CreateCollection(g_db, COLLECTION_NAME, "", 0), GRD_OK); in SetUp()
380 EXPECT_EQ(GRD_CreateCollection(g_db, collectionName, "", 0), GRD_OK);
1198 ASSERT_EQ(GRD_CreateCollection(g_db, collectionName1.c_str(), "", 0), GRD_OK);
1225 ASSERT_EQ(GRD_CreateCollection(g_db, collectionName1.c_str(), "", 0), GRD_OK);
1475 EXPECT_EQ(GRD_CreateCollection(test_db, colName, "", 0), GRD_OK);
H A Ddocumentdb_data_test.cpp53 EXPECT_EQ(GRD_CreateCollection(g_db, g_coll, "", 0), GRD_OK); in SetUp()
H A Ddocumentdb_api_test.cpp67 EXPECT_EQ(GRD_CreateCollection(db, "student", "", 0), GRD_OK);
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/fuzztest/json_fuzzer/
H A Djson_fuzzer.cpp217 GRD_CreateCollection(g_db, collectionName5.c_str(), "", 0); in InsertDocTwoFuzz()
221 GRD_CreateCollection(g_db, collectionName5.c_str(), "", 0); in InsertDocTwoFuzz()
226 GRD_CreateCollection(g_db, collectionName5.c_str(), "", 0); in InsertDocTwoFuzz()
234 GRD_CreateCollection(g_db, collectionName5.c_str(), "", 0); in InsertDocThreeFuzz()
239 GRD_CreateCollection(g_db, collectionName5.c_str(), "", 0); in InsertDocThreeFuzz()
244 GRD_CreateCollection(g_db, collectionName5.c_str(), "", 0); in InsertDocThreeFuzz()
531 GRD_CreateCollection(g_db, collectionName, "", 0); in FindDocOneFuzz()
1120 GRD_CreateCollection(g_db, "student", "", 0); in UpsertDocNewFuzz()
1128 GRD_CreateCollection(g_db, "student", "", 0); in UpsertDocNewFuzz()
1160 GRD_CreateCollection(db1, newCollName, "", 0); in UpsertDocFuzz()
[all …]
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/gaussdb_rd/include/grd_document/
H A Dgrd_document_api.h28 GRD_API int32_t GRD_CreateCollection(GRD_DB *db, const char *collectionName, const char *optionStr,…
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/data_share/common/
H A Dkv_delegate.cpp204 status = GRD_CreateCollection(db_, TEMPLATE_TABLE, nullptr, 0); in Init()
212 status = GRD_CreateCollection(db_, DATA_TABLE, nullptr, 0); in Init()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/gaussdb_rd/src/executor/document/
H A Dgrd_document_api.cpp28 GRD_API int32_t GRD_CreateCollection(GRD_DB *db, const char *collectionName, const char *optionStr,… in GRD_CreateCollection() function
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/gaussdb_rd/
H A Drd_utils.cpp296 return TransferGrdErrno(GRD_CreateCollection(db, collectionName, optionStr, flags)); in RdCreateCollection()