protected function exec(Query $builder) { $this->stmt = $this->pdo->prepare($builder->getSql()); foreach ($builder->getBind() as $k => $v) { $this->stmt->bindParam($k, $v); } $this->stmt->execute(); }