Commit 91787686 by ning

使用指南

parent 884fc83a
### 2.0接口文档
**安装指南**
- hdc install -r "entry-default-signed.hap"
- hdc uninstall com.junmp.store_management
- [ ] 未完成任务
- [x] 已完成任务
``` java
public static void main(String args[]){
System.out.println("Hello World!");
}
```
```typescript
批量插入数据
SQLiteContext.with(GldwDao)
.batchInsert([{ guid: '124', dwdm: '124', dwfh: '124', dwxz: 'zf' }
, { guid: '125', dwdm: '125', dwfh: '125', dwxz: 'zf' }])
.then(result => {
Logger.info(this, '数据保存成功' + result);
});
```
```typescript
查询表数据
SQLiteContext.with(GldwDao).queryAll().then((res1) => {
Logger.info(this, '查询结果:' + JSON.stringify(res1));
})
```
---
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论