private function resolveMysqliPreparedStatement(mysqli_stmt $prepare, array $parameters = [])
    {
        $s = "";
        foreach ($parameters as $param) {

            if (is_string($param)) {
                $s .= "s";
            } elseif (is_integer($param)) {
                $s .= "i";
            }
        }

        if (count($parameters) < 1) {
            $paramArray = [];
        } else {
            $paramArray = array_merge([$s], $parameters);
        }

        call_user_func_array([$prepare, 'bind_param'], $this->refValues($paramArray));
        return $prepare->execute();
    }