diff --git a/README.en.md b/README.en.md new file mode 100644 index 0000000000000000000000000000000000000000..3f42b875f68908a84d581d6ccb25d08dc507794c --- /dev/null +++ b/README.en.md @@ -0,0 +1,29 @@ +# RDB Store + +### Overview + +This codelab uses accounting as an example to illustrate how to use RDB store APIs to add, delete, modify, and query revenue and expenditure records. The following figure shows the effect. + +![image](screenshots/device/RDB_Store.en.gif) + +### Concepts + +- Relational database (RDB) store: manages data based on relational models. To satisfy different needs in complicated scenarios, the RDB store offers APIs for performing operations such as adding, deleting, modifying, and querying data, and supports direct execution of SQL statements. + +### Permissions + +N/A + +### How to Use + +1. On the app home page, touch the Add icon in the lower right corner. In the dialog box that is displayed, select an account item type, enter the amount, and tap OK to add an account item. +2. On the app home page, touch the Edit icon in the upper right corner, select the account item to be deleted, and touch the Delete icon at the bottom to delete the selected account item. +3. On the app home page, touch the account item to be edited. In the dialog box that is displayed, change the account item type or amount, and tap OK to modify the account item. +4. On the app home page, touch the search bar, enter the amount of the account item to be searched for, and touch the Search icon. The account item whose amount is the searched amount is displayed. If the search bar is empty, all account items are displayed. + +### Constraints + +1. The sample is only supported on Huawei phones with standard systems. +2. HarmonyOS: HarmonyOS NEXT Developer Beta1 or later. +3. DevEco Studio: DevEco Studio NEXT Developer Beta1 or later. +4. HarmonyOS SDK: HarmonyOS NEXT Developer Beta1 SDK or later. diff --git a/README.md b/README.md index 8eff97f4c3540fdf9d3e928672fca123be3135a0..b14e766be6e4d0651439a341ab7f42054be11733 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ 本Codelab以记账为例,使用关系型数据库的相关接口实现了对账单的增、删、改、查操作。效果图如下: -![image](screenshots/device/关系型数据库.gif) +![image](screenshots/device/RDB_Store.gif) ### 相关概念 diff --git a/screenshots/device/RDB_Store.en.gif b/screenshots/device/RDB_Store.en.gif new file mode 100644 index 0000000000000000000000000000000000000000..78ba7e70b2e60f8b980011b7021c50762e63381e Binary files /dev/null and b/screenshots/device/RDB_Store.en.gif differ diff --git "a/screenshots/device/\345\205\263\347\263\273\345\236\213\346\225\260\346\215\256\345\272\223.gif" b/screenshots/device/RDB_Store.gif similarity index 100% rename from "screenshots/device/\345\205\263\347\263\273\345\236\213\346\225\260\346\215\256\345\272\223.gif" rename to screenshots/device/RDB_Store.gif