* 查找记录
* @access public
* @param array $options 表达式
* @return mixed
*/
public function select($options=array()) {
$this->model = $options['model'];
$this->parseBind(!empty($options['bind'])?$options['bind']:array());
$sql = $this->buildSelectSql($options);
$sql = $this->str_replace_sys_keywords($sql);
$result = $this->query($sql,!empty($options['fetch_sql']) ? true : false);
return $result;
}
不论是不是lock都会执行这个select ,那个就会执行query,也就是只读实例?
最佳答案