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