Methods
检查对象仓库是否存在。
Name | Type | Description |
---|---|---|
storeName |
String |
对象仓库(表)名称 |
检查对象仓库是否存在。
Name | Type | Description |
---|---|---|
storeName |
String |
对象仓库(表)名称 |
清空对象仓库
Name | Type | Description |
---|---|---|
storeName |
String |
清空对象仓库
Name | Type | Description |
---|---|---|
storeName |
String |
创建 IndexedDB 浏对象仓库,IndexedDB 是浏览器提供的本地数据库
Name | Type | Description |
---|---|---|
storeName |
String |
对象仓库(表)名称 |
Returns:
创建 IndexedDB 浏对象仓库,IndexedDB 是浏览器提供的本地数据库
Name | Type | Description |
---|---|---|
storeName |
String |
对象仓库(表)名称 |
Returns:
向对象仓库读取数据。
Name | Type | Description |
---|---|---|
storeName |
String |
对象仓库(表)名称 |
id |
Number |
主键 |
Returns:
向对象仓库读取数据。
Name | Type | Description |
---|---|---|
storeName |
String |
对象仓库(表)名称 |
id |
Number |
主键 |
Returns:
向对象仓库写入数据记录。
Name | Type | Description |
---|---|---|
storeName |
String |
对象仓库(表)名称 |
id |
Number |
主键 |
value |
* |
值 |
Returns:
向对象仓库写入数据记录。
Name | Type | Description |
---|---|---|
storeName |
String |
对象仓库(表)名称 |
id |
Number |
主键 |
value |
* |
值 |
Returns:
移除数据。
Name | Type | Description |
---|---|---|
storeName |
String | |
id |
Number |
Returns:
移除数据。
Name | Type | Description |
---|---|---|
storeName |
String | |
id |
Number |
Returns:
更新数据。
Name | Type | Description |
---|---|---|
storeName |
String | |
id |
Number | |
value |
* |
Returns:
更新数据。
Name | Type | Description |
---|---|---|
storeName |
String | |
id |
Number | |
value |
* |