diff --git a/lib/dbh/dbh.class.php b/lib/dbh/dbh.class.php index 5eb89cb63f..74bcc77b06 100644 --- a/lib/dbh/dbh.class.php +++ b/lib/dbh/dbh.class.php @@ -59,6 +59,15 @@ class dbh */ private $sql; + /** + * 执行的请求,所有的查询都保存在该数组。 + * The queries executed. Every query will be saved in this array. + * + * @var array + * @access public + */ + public static $queries = []; + /** * Constructor *