Huawei HCIP-HarmonyOS Application Developer V1.0 H14-231_V1.0 Question # 6 Topic 1 Discussion

Huawei HCIP-HarmonyOS Application Developer V1.0 H14-231_V1.0 Question # 6 Topic 1 Discussion

H14-231_V1.0 Exam Topic 1 Question 6 Discussion:
Question #: 6
Topic #: 1

When a developerdevelops 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 queryingdata, you need to construct a predicate object for querying and store it in the form of a ValuesBucket


Get Premium H14-231_V1.0 Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.