MCPcopy Create free account
hub / github.com/actix/examples / get_branch_data

Function get_branch_data

databases/mysql/src/persistence.rs:158–164  ·  view source on GitHub ↗
(pool: &mysql::Pool)

Source from the content-addressed store, hash-verified

156}
157
158pub fn get_branch_data(pool: &mysql::Pool) -> Result<BranchResponseData, PersistenceError> {
159 let mut conn = pool.get_conn()?;
160
161 Ok(BranchResponseData {
162 branch_data: select_branch_details(&mut conn)?,
163 })
164}
165
166pub fn get_teller_data(pool: &mysql::Pool) -> Result<TellerResponseData, PersistenceError> {
167 let mut conn = pool.get_conn()?;

Callers 1

get_branchFunction · 0.85

Calls 1

select_branch_detailsFunction · 0.85

Tested by

no test coverage detected