Handling API interface for Endogenous code exercise

Signed-off-by: wuyongning <wuyongning@huawei.com>
This commit is contained in:
wuyongning 2022-03-19 20:14:03 +08:00
parent e805cc49bd
commit aae694800d
6 changed files with 7 additions and 1 deletions

View File

@ -12,6 +12,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import { AsyncCallback } from './basic';
import rdb from './@ohos.data.rdb';

View File

@ -14,6 +14,7 @@
*/
import { AsyncCallback, Callback } from './basic';
/**
* Providers interfaces to creat a {@link KVManager} istances.
* @since 7

View File

@ -12,6 +12,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import {AsyncCallback, Callback} from './basic';
/**

View File

@ -12,6 +12,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import {AsyncCallback, Callback} from './basic';
import { ResultSet } from './data/rdb/resultSet';
import Context from "./application/Context";
@ -260,7 +261,7 @@ declare namespace rdb {
sync(mode: SyncMode, predicates: RdbPredicates): Promise<Array<[string, number]>>;
/**
* Registers a observer for the database. When data in the distributed database changes,
* Registers an observer for the database. When data in the distributed database changes,
* the callback will be invoked.
*
* @note N/A

View File

@ -12,6 +12,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import { AsyncCallback, Callback } from './basic';
/**

View File

@ -12,6 +12,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import { AsyncCallback } from '../../basic'
/**