## 查询
### 基本查询
~~~
$this->db->query('YOUR QUERY HERE');
~~~
### 查询绑定
~~~
$sql = "SELECT * FROM some_table WHERE id = ? AND status = ? AND author = ?";
$this->db->query($sql, array(3, 'live', 'Rick'));
~~~
### 更新数据
~~~
$numberId = $id;
$data = array('password' => $password);
$where = array("id" =>$numberId);
$str = $this->db->update_string('table_name', $data, $where);
~~~