This commit is contained in:
2021-01-11 17:34:42 +08:00
parent c61f4d669a
commit 498446f26d
2 changed files with 1 additions and 1 deletions
+1
View File
@@ -267,6 +267,7 @@ class Connection extends Component
*/ */
public function createCommand($sql = null, $attributes = []): Command public function createCommand($sql = null, $attributes = []): Command
{ {
var_dump($sql);
$command = new Command(['db' => $this, 'sql' => $sql]); $command = new Command(['db' => $this, 'sql' => $sql]);
return $command->bindValues($attributes); return $command->bindValues($attributes);
} }
-1
View File
@@ -740,7 +740,6 @@ trait QueryTrait
} }
$this->where[] = $conditions; $this->where[] = $conditions;
} }
var_dump($this->where);
return $this; return $this;
} }