/ohos5.0/base/notification/distributed_notification_service/services/ans/src/ |
H A D | reminder_store.cpp | 79 AddRdbColum(store, ReminderCalendarTable::TABLE_NAME, in OnUpgrade() 152 std::string sql = "DELETE FROM " + ReminderTable::TABLE_NAME; in CopyData() 160 + ReminderTable::TABLE_NAME; in GetOldReminders() 317 ReminderBaseTable::TABLE_NAME.c_str(), reminderId); in Delete() 325 ReminderAlarmTable::TABLE_NAME.c_str(), reminderId); in Delete() 333 ReminderCalendarTable::TABLE_NAME.c_str(), reminderId); in Delete() 341 ReminderTimerTable::TABLE_NAME.c_str(), reminderId); in Delete() 403 + " FROM " + ReminderBaseTable::TABLE_NAME + " ORDER BY " in GetMaxId() 429 + ReminderBaseTable::TABLE_NAME + " WHERE " in GetAllValidReminders() 560 sql = "DELETE FROM " + ReminderAlarmTable::TABLE_NAME + " WHERE " in Delete() [all …]
|
H A D | reminder_table.cpp | 21 const std::string ReminderBaseTable::TABLE_NAME = "reminder_base"; member in OHOS::Notification::ReminderBaseTable 55 const std::string ReminderAlarmTable::TABLE_NAME = "reminder_alarm"; member in OHOS::Notification::ReminderAlarmTable 62 const std::string ReminderCalendarTable::TABLE_NAME = "reminder_calendar"; member in OHOS::Notification::ReminderCalendarTable 77 const std::string ReminderTimerTable::TABLE_NAME = "reminder_timer"; member in OHOS::Notification::ReminderTimerTable
|
H A D | reminder_table_old.cpp | 21 const std::string ReminderTable::TABLE_NAME = "reminder"; member in OHOS::Notification::ReminderTable
|
/ohos5.0/base/hiviewdfx/hiview/base/event_store/store/ |
H A D | sys_event_repeat_db.cpp | 28 const std::string TABLE_NAME = "sys_event_history"; variable 99 std::string sql = SqlUtil::GenerateCreateSql(TABLE_NAME, fields); in CreateTable() 106 indexSql.append(TABLE_NAME).append("(").append(COLUMN_DOMAIN).append(", ") in CreateTable() 114 indexHappentimeSql.append(TABLE_NAME).append("(").append(COLUMN_HAPPENTIME).append(");"); in CreateTable() 146 int ret = dbStore_->Insert(seq, TABLE_NAME, bucket); in Insert() 160 NativeRdb::AbsRdbPredicates predicates(TABLE_NAME); in Update() 182 if (dbStore_->Delete(deleteRows, TABLE_NAME, whereClause) != NativeRdb::E_OK) { in ClearHistory() 194 sql.append("SELECT count(*) from ").append(TABLE_NAME).append(";"); in RefreshDbCount() 197 HIVIEW_LOGE("failed to query from table %{public}s, db is null", TABLE_NAME.c_str()); in RefreshDbCount() 213 NativeRdb::AbsRdbPredicates predicates(TABLE_NAME); in QueryHappentime() [all …]
|
/ohos5.0/foundation/distributeddatamgr/relational_store/test/native/rdb/unittest/ |
H A D | rdb_trans_db_test.cpp | 41 static constexpr const char *TABLE_NAME = "TEST"; member in Test::RdbTransDBTest 116 errCode = transDB_->Delete(changed, TABLE_NAME); 145 errCode = transDB_->Delete(changed, TABLE_NAME); 341 errCode = transDB_->Insert(rowId, TABLE_NAME, row); 384 errCode = transDB_->Replace(rowId, TABLE_NAME, row); 387 errCode = transDB_->Replace(rowId, TABLE_NAME, row); 608 errCode = transDB_->Update(changed, TABLE_NAME, row); 645 RdbPredicates rdbPredicates(TABLE_NAME); 734 RdbPredicates rdbPredicates(TABLE_NAME); 799 RdbPredicates rdbPredicates(TABLE_NAME); [all …]
|
/ohos5.0/foundation/multimedia/media_library/frameworks/innerkitsimpl/medialibrary_data_extension/src/event_handler/ |
H A D | album_plugin_table_event_handler.cpp | 56 MEDIA_INFO_LOG("InitiateData begin initiate %{public}s table data.", TABLE_NAME.c_str()); in InitiateData() 91 TABLE_NAME.c_str(), in InitiateData() 113 MEDIA_INFO_LOG("OnCreate begin create %{public}s table.", TABLE_NAME.c_str()); in OnCreate() 120 MEDIA_INFO_LOG("OnCreate end create %{public}s table.", TABLE_NAME.c_str()); in OnCreate() 130 MEDIA_INFO_LOG("OnUpgrade begin upgrade %{public}s table.", TABLE_NAME.c_str()); in OnUpgrade() 132 if (this->IsTableCreated(store, TABLE_NAME)) { in OnUpgrade() 137 TABLE_NAME.c_str(), in OnUpgrade() 143 MEDIA_INFO_LOG("OnUpgrade end upgrade %{public}s table.", TABLE_NAME.c_str()); in OnUpgrade()
|
H A D | tab_old_photos_table_event_handler.cpp | 33 MEDIA_INFO_LOG("OnCreate begin create %{public}s table", this->TABLE_NAME.c_str()); in OnCreate() 40 MEDIA_INFO_LOG("OnCreate end create %{public}s table", this->TABLE_NAME.c_str()); in OnCreate()
|
/ohos5.0/base/hiviewdfx/hiview/framework/native/unified_collection/collector/utils/ |
H A D | trace_storage.cpp | 35 const std::string TABLE_NAME = "trace_flow_control"; variable 73 std::string sql = SqlUtil::GenerateCreateSql(TABLE_NAME, fields); in CreateTraceFlowControlTable() 94 std::string sql = SqlUtil::GenerateDropSql(TABLE_NAME); in OnUpgrade() 96 HIVIEW_LOGE("failed to drop table %{public}s, ret=%{public}d", TABLE_NAME.c_str(), ret); in OnUpgrade() 109 dbStorePath_.append(TABLE_NAME).append(".db"); // trace_flow_control.db in InitDbStore() 143 NativeRdb::AbsRdbPredicates predicates(TABLE_NAME); in UpdateTable() 155 if (dbStore_->Insert(seq, TABLE_NAME, bucket) != NativeRdb::E_OK) { in InsertTable() 171 NativeRdb::AbsRdbPredicates predicates(TABLE_NAME); in QueryTable() 175 HIVIEW_LOGE("failed to query from table %{public}s, db is null", TABLE_NAME.c_str()); in QueryTable()
|
/ohos5.0/docs/zh-cn/application-dev/application-models/ |
H A D | create-dataability.md | 18 let TABLE_NAME = 'book'; 39 rdbStore.insert(TABLE_NAME, valueBucket, callback); 49 rdbStore.insert(TABLE_NAME, valueBuckets[i], (err: BusinessError, num: number) => { 53 rdbStore.insert(TABLE_NAME, valueBuckets[i], callback); 61 let rdbPredicates = dataAbility.createRdbPredicates(TABLE_NAME, predicates); 69 let rdbPredicates = dataAbility.createRdbPredicates(TABLE_NAME, predicates); 77 let rdbPredicates = dataAbility.createRdbPredicates(TABLE_NAME, predicates);
|
/ohos5.0/docs/en/application-dev/application-models/ |
H A D | create-dataability.md | 18 let TABLE_NAME = 'book'; 39 rdbStore.insert(TABLE_NAME, valueBucket, callback); 49 rdbStore.insert(TABLE_NAME, valueBuckets[i], (err: BusinessError, num: number) => { 53 rdbStore.insert(TABLE_NAME, valueBuckets[i], callback); 61 let rdbPredicates = dataAbility.createRdbPredicates(TABLE_NAME, predicates); 69 let rdbPredicates = dataAbility.createRdbPredicates(TABLE_NAME, predicates); 77 let rdbPredicates = dataAbility.createRdbPredicates(TABLE_NAME, predicates);
|
/ohos5.0/base/notification/distributed_notification_service/services/ans/include/ |
H A D | reminder_table.h | 29 static const std::string TABLE_NAME; 199 static const std::string TABLE_NAME; 222 static const std::string TABLE_NAME; 253 static const std::string TABLE_NAME;
|
H A D | reminder_table_old.h | 28 static const std::string TABLE_NAME; variable
|
/ohos5.0/foundation/ai/intelligent_voice_framework/services/intell_voice_trigger/server/ |
H A D | trigger_db_helper.cpp | 35 static const std::string TABLE_NAME = "trigger"; variable 48 const std::string CREATE_TABLE_Trigger = "CREATE TABLE IF NOT EXISTS " + TABLE_NAME + in OnCreate() 72 const std::string alterModelType = "ALTER TABLE " + TABLE_NAME + in VersionAddModelType() 119 …int ret = store_->InsertWithConflictResolution(rowId, TABLE_NAME, values, ConflictResolution::ON_C… in UpdateGenericTriggerModel()
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/syncer/cloud/ |
H A D | distributeddb_cloud_db_proxy_test.cpp | 35 constexpr const char *TABLE_NAME = "Table"; variable 97 …EXPECT_EQ(cloudSyncer->Sync({ "cloud" }, SyncMode::SYNC_MODE_CLOUD_MERGE, { TABLE_NAME }, callback… in Sync() 196 .name = TABLE_NAME, 204 EXPECT_EQ(proxy.BatchInsert(TABLE_NAME, insert, expectExtends, uploadInfo), E_OK); 209 EXPECT_EQ(proxy.Query(TABLE_NAME, extend, actualRecords), -E_QUERY_END); 239 .name = TABLE_NAME, 257 EXPECT_EQ(proxy.BatchInsert(TABLE_NAME, insert, expectExtends, uploadInfo), E_OK); 264 EXPECT_EQ(proxy.BatchUpdate(TABLE_NAME, update, expectExtends, uploadInfo), E_OK); 272 EXPECT_EQ(proxy.Query(TABLE_NAME, extend, actualRecords), -E_QUERY_END); 422 …EXPECT_EQ(cloudSyncer->Sync({ "cloud" }, SyncMode::SYNC_MODE_CLOUD_MERGE, { TABLE_NAME }, callback… [all …]
|
H A D | cloud_db_sync_utils_test.cpp | 23 const string TABLE_NAME = "worker"; variable 33 const std::vector<std::string> g_tables = {TABLE_NAME}; 57 ASSERT_EQ(delegate->CreateDistributedTable(TABLE_NAME, CLOUD_COOPERATION), DBStatus::OK); in InitSyncUtils() 69 GetCloudDbSchema(TABLE_NAME, cloudField, dataBaseSchema); in InitSyncUtils() 105 ASSERT_EQ(virtualCloudDb->BatchInsert(TABLE_NAME, std::move(record), extend), DBStatus::OK); in InsertCloudTableRecord() 137 ASSERT_EQ(virtualCloudDb->BatchUpdate(TABLE_NAME, std::move(record), extend), DBStatus::OK); in UpdateCloudTableRecord() 148 ASSERT_EQ(virtualCloudDb->DeleteByGid(TABLE_NAME, data), DBStatus::OK); in DeleteCloudTableRecordByGid()
|
/ohos5.0/docs/zh-cn/application-dev/performance/ |
H A D | multi_thread_capability.md | 497 2. 检查`predicates`(返回带有和表名`TABLE_NAME`匹配的Rdb谓词)是否为空或未定义,若满足条件则记录相应日志。 505 a. 使用`this.rdbStore.insert`方法向表`TABLE_NAME`插入数据,冲突解决策略为`ON_CONFLICT_REPLACE`。 545 …let ret = await this.rdbStore.insert(TABLE_NAME, valueBucket, rdb.ConflictResolution.ON_CONFLICT_R… 556 2. 检查`predicates`(返回带有和表名`TABLE_NAME`匹配的Rdb谓词)是否为空或未定义,若满足条件则记录相应日志。 564 a. 使用`this.rdbStore.batchInsert`方法向表`TABLE_NAME`批量插入数据。 614 let ret = await this.rdbStore.batchInsert(TABLE_NAME, valueBuckets) 625 2. 检查`predicates`(返回带有和表名`TABLE_NAME`匹配的Rdb谓词)是否为空或未定义,若满足条件则记录相应日志并直接返回空数组。
|
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/data_share/common/ |
H A D | uri_utils.cpp | 38 splitUri[STORE_NAME].empty() || splitUri[TABLE_NAME].empty()) { in GetInfoFromURI() 47 uriInfo.tableName = splitUri[TABLE_NAME]; in GetInfoFromURI()
|
H A D | uri_utils.h | 63 TABLE_NAME, enumerator
|
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/data_share/strategies/data_proxy/ |
H A D | load_config_from_data_proxy_node_strategy.h | 31 TABLE_NAME, enumerator
|
/ohos5.0/foundation/multimedia/media_library/frameworks/innerkitsimpl/medialibrary_data_extension/include/event_handler/ |
H A D | album_plugin_table_event_handler.h | 37 const std::string TABLE_NAME = "album_plugin";
|
H A D | tab_old_photos_table_event_handler.h | 37 const std::string TABLE_NAME = "tab_old_photos";
|
/ohos5.0/base/security/asset/services/db_operator/src/ |
H A D | database.rs | 36 DB_UPGRADE_VERSION_V2, DB_UPGRADE_VERSION_V3, SQLITE_OK, TABLE_NAME, UPGRADE_COLUMN_INFO, 233 let table = Table::new(TABLE_NAME, &db); in check_db_accessible() 445 let table = Table::new(TABLE_NAME, self); in restore_if_exec_fail() 450 let table = Table::new(TABLE_NAME, self); // Database handle will be changed. in restore_if_exec_fail()
|
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/data_share/ |
H A D | data_provider_config.h | 66 TABLE_NAME, enumerator
|
H A D | data_provider_config.cpp | 182 pathSegments[static_cast<std::size_t>(PATH_PARAM::TABLE_NAME)].empty()) { in GetFromUriPath() 189 providerInfo_.tableName = pathSegments[static_cast<std::size_t>(PATH_PARAM::TABLE_NAME)]; in GetFromUriPath()
|
/ohos5.0/base/security/asset/services/db_operator/src/test/ |
H A D | test_database.rs | 29 types::{column, DbMap, QueryOptions, TABLE_NAME}, 127 let table = Table::new(TABLE_NAME, &db); in create_delete_asset_table()
|