Home
last modified time | relevance | path

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

/ohos5.0/foundation/distributeddatamgr/relational_store/test/ndk/unittest/
H A Drdb_cursor_test.cpp51 OH_Rdb_Store *cursorTestRdbStore_; variable
59 cursorTestRdbStore_ = OH_Rdb_GetOrOpen(&config_, &errCode); in SetUpTestCase()
60 EXPECT_NE(cursorTestRdbStore_, NULL); in SetUpTestCase()
63 errCode = OH_Rdb_Execute(cursorTestRdbStore_, createTableSql); in SetUpTestCase()
74 errCode = OH_Rdb_Insert(cursorTestRdbStore_, table, valueBucket); in SetUpTestCase()
83 errCode = OH_Rdb_Insert(cursorTestRdbStore_, table, valueBucket); in SetUpTestCase()
92 errCode = OH_Rdb_Insert(cursorTestRdbStore_, table, valueBucket); in SetUpTestCase()
101 delete cursorTestRdbStore_; in TearDownTestCase()
102 cursorTestRdbStore_ = NULL; in TearDownTestCase()
118 int errCode = OH_Rdb_Execute(cursorTestRdbStore_, createTableSql); in CreateAssetTable()
[all …]
/ohos5.0/docs/zh-cn/application-dev/database/
H A Dnative-relational-store-guidelines.md249 int rowID = OH_Rdb_Insert(cursorTestRdbStore_, table, valueBucket);
260 OH_Cursor *cursor = OH_Rdb_Query(cursorTestRdbStore_, predicates, NULL, 0);
/ohos5.0/docs/en/application-dev/database/
H A Dnative-relational-store-guidelines.md253 int rowID = OH_Rdb_Insert(cursorTestRdbStore_, table, valueBucket);
264 OH_Cursor *cursor = OH_Rdb_Query(cursorTestRdbStore_, predicates, NULL, 0);