Home
last modified time | relevance | path

Searched refs:whereClause (Results 1 – 9 of 9) sorted by relevance

/base/telephony/telephony_data/sim/src/
Drdb_sim_helper.cpp111 std::string whereClause; in SetDefaultCardByType() local
112 whereClause.append(SimData::SIM_ID).append("=").append(std::to_string(simId)); in SetDefaultCardByType()
113 result = Update(changedRows, TABLE_SIM_INFO, values, whereClause); in SetDefaultCardByType()
126 std::string whereClause; in UpdateCardStateByType() local
131 whereClause.append(SimData::IS_MAIN_CARD).append("=").append(std::to_string(whereSate)); in UpdateCardStateByType()
137whereClause.append(SimData::IS_VOICE_CARD).append("=").append(std::to_string(whereSate)); in UpdateCardStateByType()
143whereClause.append(SimData::IS_MESSAGE_CARD).append("=").append(std::to_string(whereSate)); in UpdateCardStateByType()
149whereClause.append(SimData::IS_CELLULAR_DATA_CARD).append("=").append(std::to_string(whereSate)); in UpdateCardStateByType()
157 return Update(changedRows, TABLE_SIM_INFO, values, whereClause); in UpdateCardStateByType()
/base/telephony/telephony_data/common/src/
Drdb_base_helper.cpp48 const std::string &whereClause, const std::vector<std::string> &whereArgs) in Update() argument
52 ret = store_->Update(changedRows, table, values, whereClause, whereArgs); in Update()
67 …t RdbBaseHelper::Delete(int &changedRows, const std::string &table, const std::string &whereClause, in Delete() argument
72 ret = store_->Delete(changedRows, table, whereClause, whereArgs); in Delete()
/base/usb/usb_manager/services/native/src/
Dusb_right_db_helper.cpp300 const std::string &whereClause, const std::vector<std::string> &whereArgs) in DeleteAndNoOtherOperation() argument
308 ret = rightDatabase_->Delete(changedRows, whereClause, whereArgs); in DeleteAndNoOtherOperation()
346 std::string whereClause = {"uid = ? AND deviceName = ? AND bundleName = ?"}; in DeleteRightRecord() local
348 int32_t ret = DeleteAndNoOtherOperation(whereClause, whereArgs); in DeleteRightRecord()
358 std::string whereClause = {"uid = ? AND deviceName = ?"}; in DeleteDeviceRightRecord() local
360 int32_t ret = DeleteAndNoOtherOperation(whereClause, whereArgs); in DeleteDeviceRightRecord()
370 std::string whereClause = {"uid = ? AND bundleName = ?"}; in DeleteAppRightRecord() local
372 int32_t ret = DeleteAndNoOtherOperation(whereClause, whereArgs); in DeleteAppRightRecord()
394 std::string whereClause = {"uid = ?"}; in DeleteUidRightRecord() local
396 int32_t ret = DeleteAndNoOtherOperation(whereClause, whereArgs); in DeleteUidRightRecord()
[all …]
Dusb_right_database.cpp125 const std::string &whereClause, const std::vector<std::string> &whereArgs) in Update() argument
131 int32_t ret = store_->Update(changedRows, USB_RIGHT_TABLE_NAME, values, whereClause, whereArgs); in Update()
155 int32_t &changedRows, const std::string &whereClause, const std::vector<std::string> &whereArgs) in Delete() argument
161 int32_t ret = store_->Delete(changedRows, USB_RIGHT_TABLE_NAME, whereClause, whereArgs); in Delete()
/base/usb/usb_manager/services/native/include/
Dusb_right_database.h56 …(int32_t &changedRows, const OHOS::NativeRdb::ValuesBucket &values, const std::string &whereClause,
59 …int32_t Delete(int32_t &changedRows, const std::string &whereClause, const std::vector<std::string…
Dusb_right_db_helper.h127 …int32_t DeleteAndNoOtherOperation(const std::string &whereClause, const std::vector<std::string> &…
/base/telephony/telephony_data/common/include/
Drdb_base_helper.h45 const std::string &whereClause = "",
48 int Delete(int &changedRows, const std::string &table, const std::string &whereClause = "",
/base/notification/distributed_notification_service/services/ans/test/unittest/notification_rdb_data_mgr_test/
Dnotification_rdb_data_mgr_test.cpp75 const std::string &whereClause = "", in Update() argument
81 const std::string &whereClause, const std::vector<std::string> &whereArgs, in UpdateWithConflictResolution() argument
87 const std::string &whereClause = "", const std::vector<ValueObject> &bindArgs = {}, in UpdateWithConflictResolution() argument
92 … virtual int Delete(int &deletedRows, const std::string &table, const std::string &whereClause, in Delete() argument
97 …virtual int Delete(int &deletedRows, const std::string &table, const std::string &whereClause = "", in Delete() argument
103 const std::vector<std::string> &columns, const std::string &whereClause = "", in Query() argument
/base/hiviewdfx/hiview/adapter/plugins/eventservice/service/idl/src/
Ddata_share_dao.cpp81 std::string whereClause = "uid = ?"; in SaveSubscriberInfo() local
83 …if (int ret = dbStore->Update(rows, eventTable_, values, whereClause, whereArgs); ret != NativeRdb… in SaveSubscriberInfo()