mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-06 23:02:48 +08:00
修正mongo驱动一处Notice
修正response::redirect()一处变量
This commit is contained in:
@@ -310,7 +310,7 @@ class Mongo extends Driver
|
||||
$this->model = $options['model'];
|
||||
$query = $this->parseWhere($options['where']);
|
||||
$set = $this->parseSet($data);
|
||||
if ($this->config['debug']) {
|
||||
if (!empty($this->config['debug'])) {
|
||||
$this->queryStr = $this->_dbName . '.' . $this->_collectionName . '.update(';
|
||||
$this->queryStr .= $query ? json_encode($query) : '{}';
|
||||
$this->queryStr .= ',' . json_encode($set) . ')';
|
||||
|
||||
Reference in New Issue
Block a user