public function bindParameters(\PDOStatement $statement)
    {
        foreach (array_keys($this->params) as $key)
        {
            $type = $this->param_types[$key];
            $statement->bindParam($key, $this->params[$key], $type);
        }
        return $this;
    }