Beispiel #1
0
 private function method($sql, array $data)
 {
     $stmt = $this->connector->getStatement($sql);
     $stmt = $this->bindAllParams($stmt, array_values($data));
     return $stmt;
 }
Beispiel #2
0
 private function defineStmt($sql)
 {
     $this->stmt = $this->connector->getStatement($sql);
 }