时间:2021-07-01 10:21:17 帮助过:11人阅读
tp 无聊的绕了一个圈子,最后还是执行到了这里
/** +---------------------------------------------------------- * SQL查询 +---------------------------------------------------------- * @access public +---------------------------------------------------------- * @param mixed $sql SQL指令 * @param boolean $parse 是否需要解析SQL +---------------------------------------------------------- * @return mixed +---------------------------------------------------------- */ public function query($sql,$parse=false) { $sql = $this->parseSql($sql,$parse); return $this->db->query($sql); }
tp 无聊的绕了一个圈子,最后还是执行到了这里
/** +---------------------------------------------------------- * SQL查询 +---------------------------------------------------------- * @access public +---------------------------------------------------------- * @param mixed $sql SQL指令 * @param boolean $parse 是否需要解析SQL +---------------------------------------------------------- * @return mixed +---------------------------------------------------------- */ public function query($sql,$parse=false) { $sql = $this->parseSql($sql,$parse); return $this->db->query($sql); }