Skip to content

Releases

Polypheny Go Driver 0.3.0

Choose a tag to compare

@vogti vogti released this 23 Nov 06:46

Changes

  • Bundle the official Prism 2.4 Go bindings.
  • Expose SQLSTATE and optional numeric error codes on *ClientError through SQLState() and ErrorCode(). Use errors.As to access the error. An explicit code of 0 is reported as present.
  • Keep the original server error text, including for older message-only responses. A nonterminal error response closes the connection and returns the original text with empty metadata.

Install

go get github.com/polypheny/Polypheny-Go-Driver@v0.3.0

Driver changes in PR #4 · Prism 2.4 · Full changelog

Polypheny Go Driver 0.2.0

Choose a tag to compare

@vogti vogti released this 21 Nov 15:13

Changes

  • Add direct Cypher execution through PolyphenyConn.ExecuteCypherContext, with support for graph results, scalar and mixed projections, buffered pagination, and transactions.
  • Preserve typed nodes, edges, paths, and graph values in Prism result cells.
  • Add namespace discovery through SearchNamespaces. Existing entity discovery returns graph markers on supported servers.
  • Include the official Prism 2.3 Go bindings. Cypher support requires Polypheny-DB with the Prism 2.3 graph implementation. The driver requires Go 1.23 or later.
go get github.com/polypheny/Polypheny-Go-Driver@v0.2.0

Graph support in PR #3 · Full changelog

Polypheny Go Driver 0.1.0

Choose a tag to compare

@vogti vogti released this 15 Nov 17:43

First tagged release

  • Connect to a compatible Prism 2.x server with Go 1.23 or later.
  • Use SQL through database/sql, with positional parameters, paginated results, and transactions.
  • Read MQL documents and fetch entity metadata through sql.Conn.Raw. Document collection metadata requires Prism 2.2 server support.
  • Includes the generated Go bindings from the official Prism 2.2 release.

Install

go get github.com/polypheny/Polypheny-Go-Driver@v0.1.0

Usage and examples