/** * Execute the generated query. * @return mixed|null Result generated by the query, or null on fail. * @throws SquidException */ public function execute() { if (is_null($this->conn)) { throw new SquidException("Can't execute query, implicitly created without connection!"); } $cmd = $this->assemble(); $bind = $this->bind(); return $this->conn->execute($cmd, $bind); }
/** * @return bool */ public function isOpen() { $this->connection->isOpen(); }
public function close() { $this->connection->close(); }