## 查詢
### 基本查詢
~~~
$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);
~~~