Repository navigation
Releases
Releases · polypheny/Polypheny-Go-Driver
Polypheny Go Driver 0.3.0
Changes
- Bundle the official Prism 2.4 Go bindings.
- Expose SQLSTATE and optional numeric error codes on
*ClientErrorthroughSQLState()andErrorCode(). Useerrors.Asto access the error. An explicit code of0is 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.0Polypheny Go Driver 0.2.0
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.0Polypheny Go Driver 0.1.0
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