Showing
1 changed file
with
7 additions
and
1 deletions
@@ -296,7 +296,13 @@ class Connection extends Root | @@ -296,7 +296,13 @@ class Connection extends Root | ||
296 | return $stmt; | 296 | return $stmt; |
297 | } | 297 | } |
298 | 298 | ||
299 | - public function execute($sql, $parameterMap, $replaceMap) | 299 | + /** |
300 | + * 执行SQL | ||
301 | + * @param $sql | ||
302 | + * @param $parameterMap | ||
303 | + * @throws DebugException | ||
304 | + */ | ||
305 | + public function execute($sql, array $parameterMap = array()) | ||
300 | { | 306 | { |
301 | $this->_PDOConn = $conn = $this->connect(); | 307 | $this->_PDOConn = $conn = $this->connect(); |
302 | $this->_PDOStatement = $stmt = $conn->prepare($sql); | 308 | $this->_PDOStatement = $stmt = $conn->prepare($sql); |
-
Please register or login to post a comment