"requestPermissions": [
{
"name": "ohos.permission.INTERNET"
}
] import { cloudDatabase } from '@kit.CloudFoundationKit';
let databaseZone = cloudDatabase.zone('QuickStartDemo');import { BookInfo } from 'xx/BookInfo'; // xx is the path to the BookInfo file.
let condition = new cloudDatabase.DatabaseQuery(BookInfo);
You can create databaseZone and condition objects, which will be used in each query, by referring to this section. The following code will not describe the creation process again.