Home
last modified time | relevance | path

Searched defs:DbMap (Results 1 – 12 of 12) sorted by relevance

/base/security/asset/services/db_operator/src/
Dtable.rs43 fn bind_datas(datas: &DbMap, stmt: &Statement, index: &mut i32) -> Result<()> { in bind_datas()
51 fn bind_where_datas(datas: &DbMap, stmt: &Statement, index: &mut i32) -> Result<()> { in bind_where_datas()
114 fn build_sql_where(conditions: &DbMap, filter: bool, sql: &mut String) { in build_sql_where()
214 fn build_sql_reverse_condition(condition: &DbMap, reverse_condition: Option<&DbMap>, sql: &mut Stri… in build_sql_reverse_condition()
360 … pub(crate) fn insert_row_with_table_name(&self, datas: &DbMap, table_name: &str) -> Result<i32> { in insert_row_with_table_name()
381 …pub(crate) fn insert_adapt_data_row(&self, datas: &DbMap, adapt_attributes: &DbMap) -> Result<i32>… in insert_adapt_data_row()
405 condition: &DbMap, in delete_row()
406 reverse_condition: Option<&DbMap>, in delete_row()
415 condition: &DbMap, in delete_row_with_table_name()
416 reverse_condition: Option<&DbMap>, in delete_row_with_table_name()
[all …]
Ddatabase.rs556 …pub fn insert_cloud_adapt_data_without_lock(&mut self, datas: &DbMap, adapt_attributes: &DbMap) ->… in insert_cloud_adapt_data_without_lock()
572 …pub fn insert_cloud_adapt_data(&mut self, datas: &DbMap, adapt_attributes: &DbMap) -> Result<i32> { in insert_cloud_adapt_data()
601 condition: &DbMap, in delete_datas()
602 reverse_condition: Option<&DbMap>, in delete_datas()
622 …pub fn delete_batch_datas(&mut self, condition: &DbMap, update_datas: &DbMap, aliases: &[Vec<u8>])… in delete_batch_datas()
631 condition: Option<&DbMap>, in delete_adapt_data_without_lock()
632 adapt_attributes: Option<&DbMap>, in delete_adapt_data_without_lock()
641 condition: Option<&DbMap>, in delete_adapt_data()
642 adapt_attributes: Option<&DbMap>, in delete_adapt_data()
668 …pub fn update_datas(&mut self, condition: &DbMap, is_filter_sync: bool, datas: &DbMap) -> Result<i… in update_datas()
[all …]
Ddatabase_file_upgrade.rs129 fn get_value_from_db_map(db_map: &DbMap, key: &str) -> Result<Value> { in get_value_from_db_map()
176 fn construct_old_query_condition(info_map: &DbMap) -> Result<DbMap> { in construct_old_query_condition()
183 fn calculate_batch_split_times(old_data_query_condition: &DbMap, old_db: &mut Database) -> Result<u… in calculate_batch_split_times()
192 old_data_query_condition: &DbMap, in migrate_data()
Dtypes.rs23 pub type DbMap = HashMap<&'static str, Value>; typedef
/base/security/asset/services/core_service/src/operations/
Doperation_add.rs51 query: &DbMap, in resolve_conflict()
52 db_data: &mut DbMap, in resolve_conflict()
73 fn get_query_condition(attrs: &AssetMap, calling_info: &CallingInfo) -> Result<DbMap> { in get_query_condition()
94 fn add_default_attrs(db_data: &mut DbMap) { in add_default_attrs()
Doperation_update.rs61 fn add_normal_attrs(db_data: &mut DbMap) { in add_normal_attrs()
92 fn upgrade_to_latest_version(origin_db_data: &mut DbMap, update_db_data: &mut DbMap) { in upgrade_to_latest_version()
Dcommon.rs115 pub(crate) fn into_db_map(attrs: &AssetMap) -> DbMap { in into_db_map()
141 pub(crate) fn add_owner_info(calling_info: &CallingInfo, db_data: &mut DbMap) { in add_owner_info()
146 pub(crate) fn add_group(calling_info: &CallingInfo, db_data: &mut DbMap) { in add_group()
152 pub(crate) fn add_calling_info(calling_info: &CallingInfo, db_data: &mut DbMap) { in add_calling_info()
Doperation_query.rs88 fn query_all(calling_info: &CallingInfo, db_data: &mut DbMap, query: &AssetMap) -> Result<Vec<Asset… in query_all()
143 pub(crate) fn query_attrs(calling_info: &CallingInfo, db_data: &DbMap, attrs: &AssetMap) -> Result<… in query_attrs()
Doperation_remove.rs35 fn add_normal_attrs(db_data: &mut DbMap) { in add_normal_attrs()
Doperation_pre_query.rs51 fn query_key_attrs(calling_info: &CallingInfo, db_data: &DbMap, attrs: &AssetMap) -> Result<(Access… in query_key_attrs()
/base/security/asset/services/db_operator/src/test/
Dtest_database.rs71 fn add_bytes_column(db_data: &mut DbMap) { in add_bytes_column()
/base/security/asset/services/plugin/src/
Dasset_plugin.rs114 fn convert_db_map(attributes: &ExtDbMap) -> Result<DbMap> { in convert_db_map()