LazyRecord\Bootstrap::executeStatement PHP Method

executeStatement() protected method

protected executeStatement ( $sql )
    protected function executeStatement($sql)
    {
        try {
            $this->logger->debug($sql);
            $this->conn->query($sql);
        } catch (PDOException $e) {
            PDOExceptionPrinter::show($e, $sql, [], $this->logger);
        }
    }