Related questions
Question 165 - H14-231_V1.0 discussion
When a developer develops an application based on Harmony OS, one of the HAPs (HarmonyOS Ability Package) needs to access the SQLite database to implement the following functions:
Function 1: Create a database.
Function 2: Insert data.
Function 3: Query data.
Which of the following descriptions of the developer's development steps is correct?
A.
The developer can use the query() interface provided by the relational database to implement the function 2
B.
The developer can use the getRdbStore interface of the DatabaseHelper class to implement function 1
C.
The developer can use the insert() interface provided by the relational database to implement function 3
D.
Before querying data, you need to construct a predicate object for querying and store it in the form of a ValuesBucket
Your answer:
0 comments
Sorted by
Leave a comment first