public function select($query, $bindings = array()) { $query = $this->bind_params($query, $bindings); return $this->db->get_results($query); }