pub fn mysql_search<T, S, P>(
    pool: &Pool,
    stmt: S,
    params: P
) -> Result<Vec<T>, CustomError> where
    S: AsStatement,
    P: Into<Params>,
    T: FromRow,
    Params: From<P>,