diff --git a/api/@ohos.data.rdb.d.ts b/api/@ohos.data.rdb.d.ts index 498bebb88a0ed497e78a84dcd502bbe1a4f4f38c..5d67330d6c5bbfd80b20d3576c2afe93966f9b68 100644 --- a/api/@ohos.data.rdb.d.ts +++ b/api/@ohos.data.rdb.d.ts @@ -194,6 +194,18 @@ declare namespace rdb { */ rollBack(callback: AsyncCallback):void; rollBack(): Promise; + + /** + * set table to be distributed table + * + * @note N/A + * @since 8 + * @sysCap SystemCapability.Data.DATA_APPDATAMGR + * @param tables the tables name you want to set + * @devices phone, tablet, tv, wearable, car + */ + setDistributedTables(tables: Array, callback: AsyncCallback): void; + setDistributedTables(tables: Array): Promise } /**