public function QPDB::query in QueryPath 6
Same name and namespace in other branches
- 7.3 QueryPath/Extension/QPDB.php \QPDB::query()
- 7.2 QueryPath/Extension/QPDB.php \QPDB::query()
File
- QueryPath/
Extension/ QPDB.php, line 61
Class
Code
public function query($sql, $args = array()) {
$this->stmt = $this->db
->prepare($sql);
$this->stmt
->execute($args);
return $this->qp;
}