pub type indyWalletOpenSearchCb = Option<unsafe extern "C" fn(handle: indy_handle_t, type_: *const c_char, query: *const c_char, options: *const c_char, search_handle: *mut i32) -> indy_error_t>;Expand description
Search for wallet storage records
#Params storage_handle: opened storage handle (See open handler) type_: allows to separate different record types collections query_json: MongoDB style query to wallet record tags: { “tagName”: “tagValue”, $or: { “tagName2”: { $regex: ‘pattern’ }, “tagName3”: { $gte: 123 }, }, } options_json: //TODO: FIXME: Think about replacing by bitmask { retrieveRecords: (optional, true by default) If false only “counts” will be calculated, retrieveTotalCount: (optional, false by default) Calculate total count, retrieveType: (optional, false by default) Retrieve record type, retrieveValue: (optional, true by default) Retrieve record value, retrieveTags: (optional, true by default) Retrieve record tags, } search_handle_p: pointer to store wallet search handle
Aliased Type§
pub enum indyWalletOpenSearchCb {
None,
Some(unsafe extern "C" fn(i32, *const i8, *const i8, *const i8, *mut i32) -> i32),
}