File tree Expand file tree Collapse file tree 1 file changed +8
-16
lines changed Expand file tree Collapse file tree 1 file changed +8
-16
lines changed Original file line number Diff line number Diff line change @@ -21,28 +21,20 @@ class Connection extends \yii\db\Connection
2121 public $ schemaMap = [
2222 'firebird ' => 'edgardmessias\db\firebird\Schema ' , // Firebird
2323 ];
24- public $ pdoClass = 'edgardmessias\db\firebird\PdoAdapter ' ;
2524
2625 /**
27- * @var Transaction the currently active transaction
26+ * @inheritdoc
2827 */
29- private $ _transaction ;
28+ public $ pdoClass = ' edgardmessias\db\firebird\PdoAdapter ' ;
3029
3130 /**
32- * Creates a command for execution.
33- * @param string $sql the SQL statement to be executed
34- * @param array $params the parameters to be bound to the SQL statement
35- * @return Command the DB command
31+ * @inheritdoc
3632 */
37- public function createCommand ($ sql = null , $ params = [])
38- {
39- $ command = new Command ([
40- 'db ' => $ this ,
41- 'sql ' => $ sql ,
42- ]);
43-
44- return $ command ->bindValues ($ params );
45- }
33+ public $ commandClass = 'edgardmessias\db\firebird\Command ' ;
34+ /**
35+ * @var Transaction the currently active transaction
36+ */
37+ private $ _transaction ;
4638
4739 /**
4840 * Returns the currently active transaction.
You can’t perform that action at this time.
0 commit comments