Home
last modified time | relevance | path

Searched refs:allowRebuild (Results 1 – 12 of 12) sorted by relevance

/ohos5.0/docs/zh-cn/application-dev/database/
H A Ddata-backup-and-restore.md185 allowRebuild: true
220 allowRebuild: true
239 …reference/apis-arkdata/js-apis-data-relationalStore.md#storeconfig)中配置allowRebuild参数为true以设置数据库在损坏…
241 若数据库损坏前已配置StoreConfig中的allowRebuild为true,则数据库损坏时将自动重建。
243 若数据库损坏前未配置StoreConfig中的allowRebuildallowRebuild配置为false,则需将其配置为true再次进行开库。具体示例如下:
256 allowRebuild: true
350 allowRebuild: true
/ohos5.0/docs/en/application-dev/database/
H A Ddata-backup-and-restore.md185 allowRebuild: true
220 allowRebuild: true
239 To enable automatic rebuild of an RDB store, set **allowRebuild** in [StoreConfig](../reference/api…
241 If **allowRebuild** in **StoreConfig** is set to **true** before the database is corrupted, the dat…
243 If **allowRebuild** in **StoreConfig** is not set or is set to **false**, set **allowRebuild** to *…
256 allowRebuild: true
350 allowRebuild: true
/ohos5.0/foundation/distributeddatamgr/relational_store/test/js/relationalstore/unittest/src/
H A DRdbStoreCorruptJsunit.test.js34 allowRebuild: false, property in STORE_CONFIG
161 allowRebuild: true, property in AnonymousFunction084b14310100.AnonymousFunction084b14310600.STORE_CONFIG1
/ohos5.0/foundation/distributeddatamgr/relational_store/test/native/rdb/unittest/
H A Drdb_store_config_test.cpp978 bool allowRebuild = false; variable
979 config.SetAllowRebuild(allowRebuild);
980 EXPECT_EQ(allowRebuild, config.GetAllowRebuild());
982 allowRebuild = true;
983 config.SetAllowRebuild(allowRebuild);
984 EXPECT_EQ(allowRebuild, config.GetAllowRebuild());
/ohos5.0/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/src/
H A Drdb_store_config.cpp544 void RdbStoreConfig::SetAllowRebuild(bool allowRebuild) in SetAllowRebuild() argument
546 this->allowRebuilt_ = allowRebuild; in SetAllowRebuild()
/ohos5.0/foundation/distributeddatamgr/relational_store/frameworks/js/napi/relationalstore/include/
H A Dnapi_rdb_js_utils.h57 bool allowRebuild = false; member
/ohos5.0/foundation/distributeddatamgr/relational_store/frameworks/js/napi/relationalstore/src/
H A Dnapi_rdb_js_utils.cpp370 GetNamedProperty(env, jsValue, "allowRebuild", rdbConfig.allowRebuild, true); in Convert2Value()
504 rdbStoreConfig.SetAllowRebuild(rdbConfig.allowRebuild); in GetRdbStoreConfig()
/ohos5.0/foundation/distributeddatamgr/relational_store/interfaces/inner_api/rdb/mock/include/
H A Drdb_store_config.h237 void SetAllowRebuild(bool allowRebuild);
/ohos5.0/foundation/distributeddatamgr/relational_store/interfaces/inner_api/rdb/include/
H A Drdb_store_config.h639 void SetAllowRebuild(bool allowRebuild);
/ohos5.0/foundation/distributeddatamgr/relational_store/frameworks/cj/src/
H A Drelational_store_impl_rdbstore.cpp488 rdbStoreConfig.SetAllowRebuild(rdbConfig.allowRebuild); in getRdbStoreConfig()
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkdata/
H A Djs-apis-data-relationalStore.md565 | allowRebuild<sup>12+</sup> | boolean | 否 | 指定数据库是否支持损坏时自动重建,默认不重建。<br/>true:自动重建。<br/>false:不自动重建…
/ohos5.0/docs/en/application-dev/reference/apis-arkdata/
H A Djs-apis-data-relationalStore.md560 | allowRebuild<sup>12+</sup> | boolean | No| Whether auto rebuild is allowed when the RDB store is …