Skip to content

v1.2.0

Latest

Choose a tag to compare

@vogti vogti released this 23 Nov 07:02

Structured errors with Prism 2.4

  • ServerException::getSqlState() and getServerErrorCode() expose optional error details from Polypheny. The server can report SQLSTATEs for SQL, Cypher, and other query languages.
  • getMessage() still returns the original server message. Missing fields return null, and an explicit server error code of 0 is preserved. Message-only responses from compatible older servers continue to work.
  • The driver advertises Prism 2.4 and uses the official Prism 2.4 bindings, including support for the structured errors introduced by Polypheny-DB #586.

Install with composer require "polypheny/php-driver:^1.2" on 64-bit PHP 8.2 or later.

PHP driver documentation · Full changelog