Home
last modified time | relevance | path

Searched refs:TABLE_NAME (Results 1 - 9 of 9) sorted by relevance

/base/notification/distributed_notification_service/services/ans/src/
H A Dreminder_store.cpp62 AddRdbColum(store, ReminderTable::TABLE_NAME, "groupId", "TEXT", "''"); in OnUpgrade()
65 AddRdbColum(store, ReminderTable::TABLE_NAME, "custom_ring_uri", "TEXT", "''"); in OnUpgrade()
66 AddRdbColum(store, ReminderTable::TABLE_NAME, "snooze_slot_id", "INT", "3"); in OnUpgrade()
69 AddRdbColum(store, ReminderTable::TABLE_NAME, "creator_bundle_name", "TEXT", "''"); in OnUpgrade()
76 AddRdbColum(store, ReminderBaseTable::TABLE_NAME, ReminderBaseTable::CREATOR_UID, "INT", "-1"); in OnUpgrade()
79 AddRdbColum(store, ReminderCalendarTable::TABLE_NAME, in OnUpgrade()
95 std::string createSql = "CREATE TABLE IF NOT EXISTS " + ReminderTable::TABLE_NAME + " (" in OnDowngrade()
109 std::string createSql = "CREATE TABLE IF NOT EXISTS " + ReminderBaseTable::TABLE_NAME + " (" in CreateTable()
117 createSql = "CREATE TABLE IF NOT EXISTS " + ReminderAlarmTable::TABLE_NAME + " (" in CreateTable()
125 createSql = "CREATE TABLE IF NOT EXISTS " + ReminderCalendarTable::TABLE_NAME in CreateTable()
[all...]
H A Dreminder_table.cpp21 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 Dreminder_table_old.cpp21 const std::string ReminderTable::TABLE_NAME = "reminder"; member in OHOS::Notification::ReminderTable
/base/hiviewdfx/hiview/framework/native/unified_collection/collector/utils/
H A Dtrace_storage.cpp35 const std::string TABLE_NAME = "trace_flow_control"; member
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()
/base/hiviewdfx/hiview/base/event_store/store/
H A Dsys_event_repeat_db.cpp28 const std::string TABLE_NAME = "sys_event_history"; member
61 std::string sql = SqlUtil::GenerateCreateSql(TABLE_NAME, fields); in OnCreate()
68 indexSql.append(TABLE_NAME).append("(").append(COLUMN_DOMAIN).append(", ") in OnCreate()
76 indexHappentimeSql.append(TABLE_NAME).append("(").append(COLUMN_HAPPENTIME).append(");"); in OnCreate()
163 if (int32_t ret = dbStore_->Insert(seq, TABLE_NAME, bucket); ret != NativeRdb::E_OK) { in Insert()
177 NativeRdb::AbsRdbPredicates predicates(TABLE_NAME); in Update()
200 if (int32_t ret = dbStore_->Delete(deleteRows, TABLE_NAME, whereClause); ret != NativeRdb::E_OK) { in ClearHistory()
213 sql.append("SELECT count(*) from ").append(TABLE_NAME).append(";"); in RefreshDbCount()
216 HIVIEW_LOGE("failed to query from table %{public}s, db is null", TABLE_NAME.c_str()); in RefreshDbCount()
234 NativeRdb::AbsRdbPredicates predicates(TABLE_NAME); in QueryHappentime()
[all...]
/base/notification/distributed_notification_service/services/ans/include/
H A Dreminder_table.h29 static const std::string TABLE_NAME; member in OHOS::Notification::ReminderBaseTable
199 static const std::string TABLE_NAME; member in OHOS::Notification::ReminderAlarmTable
222 static const std::string TABLE_NAME; member in OHOS::Notification::ReminderCalendarTable
253 static const std::string TABLE_NAME; member in OHOS::Notification::ReminderTimerTable
H A Dreminder_table_old.h28 static const std::string TABLE_NAME; member in OHOS::Notification::ReminderTable
/base/security/asset/services/db_operator/src/
H A Ddatabase.rs36 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);
450 let table = Table::new(TABLE_NAME, self); // Database handle will be changed.
/base/security/asset/services/db_operator/src/test/
H A Dtest_database.rs29 types::{column, DbMap, QueryOptions, TABLE_NAME},
127 let table = Table::new(TABLE_NAME, &db); in create_delete_asset_table()

Completed in 6 milliseconds