Skip to content
This repository was archived by the owner on Jun 5, 2022. It is now read-only.

Commit cf71949

Browse files
přidány funkce query, queryArgs
1 parent c3d1843 commit cf71949

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/BaseTable.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ protected function getCache()
207207
*/
208208
public function query($statement){
209209
$args = func_get_args();
210-
return $this->getConnection()->queryArgs(array_shift($args), $args);
210+
return $this->connection->queryArgs(array_shift($args), $args);
211211
}
212212

213213
/**
@@ -217,7 +217,7 @@ public function query($statement){
217217
* @return Statement
218218
*/
219219
public function queryArgs($statement, $params){
220-
return $this->getConnection()->queryArgs($statement, $params);
220+
return $this->connection->queryArgs($statement, $params);
221221
}
222-
222+
223223
}

0 commit comments

Comments
 (0)